common: android: add sysmem overflow check

Change-Id: I263bbc9f9f2a71322591ef3528b8fa6039eb3509
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
Joseph Chen 2019-06-25 21:04:59 +08:00 committed by Jianhong Chen
parent 0c4b2feaa3
commit 6d5e656643
1 changed files with 3 additions and 0 deletions

View File

@ -422,6 +422,9 @@ int android_bootloader_boot_kernel(unsigned long kernel_address)
comp_type))
return -1;
/* Check sysmem overflow */
sysmem_overflow_check();
do_bootm(NULL, 0, 4, bootm_args);
return -1;