diff options
author | Ye.Li <B37916@freescale.com> | 2015-07-09 11:19:13 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2015-07-13 14:44:02 +0800 |
commit | ae7ffee7fe9f9b2e217d051971a98e1f28290cb1 (patch) | |
tree | 606c01ebff4e867637f20b1040a553ebd977fc01 /arch/arm/cpu/armv7/mx7 | |
parent | 93e01750558e1ba2a1dfdb0cca24ed38326db091 (diff) | |
download | u-boot-imx-ae7ffee7fe9f9b2e217d051971a98e1f28290cb1.zip u-boot-imx-ae7ffee7fe9f9b2e217d051971a98e1f28290cb1.tar.gz u-boot-imx-ae7ffee7fe9f9b2e217d051971a98e1f28290cb1.tar.bz2 |
MLK-11228-1 android: Integrate community fastboot with FSL i.MX fastboot
1. Replace the UDC driver with community's USB gadget d_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. Change the booti command to boota, due to the booti has been used for
ARM64 image boot.
5. Modify boota implementation to load ramdisk and fdt to their loading
addresses specified in boot.img header, while bootm won't do it for
android image.
6. Modify the android image HAB implementation. Authenticate the boot.img
on the "load_addr" for both SD and NAND.
7. Enable 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.
8. Use community's way to combine cmdline in boot.img and u-boot environment,
not overwrite the cmdline in boot.img
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'arch/arm/cpu/armv7/mx7')
-rw-r--r-- | arch/arm/cpu/armv7/mx7/soc.c | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/arch/arm/cpu/armv7/mx7/soc.c b/arch/arm/cpu/armv7/mx7/soc.c index 586a6f2..c459797 100644 --- a/arch/arm/cpu/armv7/mx7/soc.c +++ b/arch/arm/cpu/armv7/mx7/soc.c @@ -18,7 +18,7 @@ #include <dm.h> #include <imx_thermal.h> #include <mxsfb.h> -#ifdef CONFIG_FASTBOOT +#ifdef CONFIG_FSL_FASTBOOT #ifdef CONFIG_ANDROID_RECOVERY #include <recovery.h> #endif @@ -394,7 +394,7 @@ void reset_misc(void) #endif } -#ifdef CONFIG_FASTBOOT +#ifdef CONFIG_FSL_FASTBOOT #ifdef CONFIG_ANDROID_RECOVERY #define ANDROID_RECOVERY_BOOT (1 << 7) @@ -442,21 +442,4 @@ int fastboot_check_and_clean_flag(void) return flag_set; } -#endif /*CONFIG_FASTBOOT*/ - -#ifdef CONFIG_IMX_UDC -void set_usb_phy1_clk(void) -{ - /* TODO */ -} -void enable_usb_phy1_clk(unsigned char enable) -{ -} - -void reset_usb_phy1(void) -{ - /* Reset USBPHY module */ - setbits_le32(&src_reg->usbophy1_rcr, 0x00000001); -} - -#endif +#endif /*CONFIG_FSL_FASTBOOT*/ |