common: android: add sysmem overflow check
Change-Id: I263bbc9f9f2a71322591ef3528b8fa6039eb3509 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
0c4b2feaa3
commit
6d5e656643
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue