emmc: modify dtb malloc method [1/1]
authorRuixuan Li <ruixuan.li@amlogic.com>
Tue, 8 Jan 2019 10:33:59 +0000 (18:33 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Wed, 13 Mar 2019 12:22:10 +0000 (20:22 +0800)
commit5cc4b46815dabc16a568c6c83c43dd087b08013b
treed9f6737e4841c9a50cb89540edd71102dfea1107
parenta745fd852b75af6b92c29edc775bfc621b03f584
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