fastboot: fix recovery booti hang
authorVikram Pandita <vikram.pandita@ti.com>
Fri, 18 Mar 2011 08:25:11 +0000 (01:25 -0700)
committerVikram Pandita <vikram.pandita@ti.com>
Fri, 18 Mar 2011 08:25:11 +0000 (01:25 -0700)
commit7e6211effae214f74797f342f953249fc9ae8bdf
tree589dca8b43db80816ef3c665786cbe4166594930
parentdebfc1f7722c0e694103869ba6cf3f39717841fc
fastboot: fix recovery booti hang

Local variables of funciton were getting referenced in
another function. This would result in a crash.

Fix by passing memory form heap to the called function.

Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
drivers/fastboot.c