emmc: modify dtb malloc method [1/1]
authorRuixuan Li <ruixuan.li@amlogic.com>
Tue, 8 Jan 2019 10:33:59 +0000 (18:33 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 16 Jan 2019 03:02:14 +0000 (19:02 -0800)
commit4a80bbfb153ac970680a886db2a7d33173f79562
tree505fec6f505920177f544b6012ba2d7b0175431a
parent740409335a7689be3938d817ebbb0277d4792bd5
emmc: modify dtb malloc method [1/1]

PD#SWPL-3951

Problem:
buffer malloc for dtb may failed

Solution:
malloc may sleep to wait for enough memory

Verify:
pass on p212

Change-Id: Ib4c266c17140d2a6abf2aea6c02b2ff591f0fe08
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
drivers/amlogic/mmc/emmc_partitions.c