mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
bootm: Support android boot on sandbox
A small change allows this to operate on sandbox. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
126cc86420
commit
07c0cd7134
2 changed files with 2 additions and 1 deletions
|
@ -793,7 +793,7 @@ static const void *boot_get_kernel(cmd_tbl_t *cmdtp, int flag, int argc,
|
|||
#ifdef CONFIG_ANDROID_BOOT_IMAGE
|
||||
case IMAGE_FORMAT_ANDROID:
|
||||
printf("## Booting Android Image at 0x%08lx ...\n", img_addr);
|
||||
if (android_image_get_kernel((void *)img_addr, images->verify,
|
||||
if (android_image_get_kernel(buf, images->verify,
|
||||
os_data, os_len))
|
||||
return NULL;
|
||||
break;
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#define CONFIG_RSA
|
||||
#define CONFIG_CMD_FDT
|
||||
#define CONFIG_DEFAULT_DEVICE_TREE sandbox
|
||||
#define CONFIG_ANDROID_BOOT_IMAGE
|
||||
|
||||
#define CONFIG_FS_FAT
|
||||
#define CONFIG_FS_EXT4
|
||||
|
|
Loading…
Add table
Reference in a new issue