diff options
author | Ye Li <ye.li@nxp.com> | 2016-03-10 10:48:24 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2016-03-25 15:59:38 +0800 |
commit | 23d63ff185929fff5e392efc853d69b606ba081a (patch) | |
tree | 9f7175ba6d1f67a0cc9f0e76da1401c9e1e96be6 /include/image.h | |
parent | 5096e572667ff41217deb4ba9b1bd15e93fa6b59 (diff) | |
download | u-boot-imx-23d63ff185929fff5e392efc853d69b606ba081a.zip u-boot-imx-23d63ff185929fff5e392efc853d69b606ba081a.tar.gz u-boot-imx-23d63ff185929fff5e392efc853d69b606ba081a.tar.bz2 |
MLK-12527-2 android: Add FSL android fastboot support
Integrate the FSL android fastboot features into community's fastboot.
1. Use USB gadget g_dnl driver
2. Integrate the FSL SD/SATA/NAND flash operations, since the GPT and
EFI partitions are not support by i.MX.
3. Add FDT support to community's android image.
4. Add a new boot command "boota" for android image boot. The boota
implements to load ramdisk and fdt to their loading addresses
specified in boot.img header, while bootm won't do it for android image.
5. Support the authentication of boot.img at the "load_addr" for
both SD and NAND.
6. We use new configuration CONFIG_FSL_FASTBOOT for Freescale's fastboot
with relevant header file "fsl_fastboot.h". While disabling the
configuration, the community fastboot is used.
7. Overwrite the cmdline in boot.img by using bootargs saved in local environment.
8. Add recovery and reboot-bootloader support.
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'include/image.h')
-rw-r--r-- | include/image.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h index 518a4f5..44574a2 100644 --- a/include/image.h +++ b/include/image.h @@ -4,6 +4,8 @@ * (C) Copyright 2000-2005 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * + * Copyright (C) 2015-2016 Freescale Semiconductor, Inc. + * * SPDX-License-Identifier: GPL-2.0+ ******************************************************************** * NOTE: This header file defines an interface to U-Boot. Including @@ -1122,6 +1124,8 @@ int android_image_get_kernel(const struct andr_img_hdr *hdr, int verify, ulong *os_data, ulong *os_len); int android_image_get_ramdisk(const struct andr_img_hdr *hdr, ulong *rd_data, ulong *rd_len); +int android_image_get_fdt(const struct andr_img_hdr *hdr, + ulong *fdt_data, ulong *fdt_len); ulong android_image_get_end(const struct andr_img_hdr *hdr); ulong android_image_get_kload(const struct andr_img_hdr *hdr); |