summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorNitin Garg <nitin.garg@freescale.com>2012-12-11 11:10:36 -0600
committerNitin Garg <nitin.garg@freescale.com>2012-12-11 11:10:36 -0600
commitd31df11541ea0d1a0bf1ed7463fd30a25b65f98c (patch)
tree993a632a3ffa39be0f042fb036d1db53633aac16 /include/configs
parent07663772b10318e3d7f0aa3e410f0ff840780806 (diff)
downloadu-boot-imx-d31df11541ea0d1a0bf1ed7463fd30a25b65f98c.zip
u-boot-imx-d31df11541ea0d1a0bf1ed7463fd30a25b65f98c.tar.gz
u-boot-imx-d31df11541ea0d1a0bf1ed7463fd30a25b65f98c.tar.bz2
ENGR00236620: Add Android fastboot and recovery reboot support
Add support for Android fastboot and recovery reboot commands for iMX5. Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx53_smd_android.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/include/configs/mx53_smd_android.h b/include/configs/mx53_smd_android.h
index 704619e..e6ce3ef 100644
--- a/include/configs/mx53_smd_android.h
+++ b/include/configs/mx53_smd_android.h
@@ -94,8 +94,8 @@
#define CONFIG_FASTBOOT_INTERFACE_STR "Android fastboot"
#define CONFIG_FASTBOOT_SERIAL_NUM "12345"
#define CONFIG_FASTBOOT_SATA_NO 0
-#define CONFIG_FASTBOOT_TRANSFER_BUF 0x80000000
-#define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x9400000 /* 148M byte */
+#define CONFIG_FASTBOOT_TRANSFER_BUF 0x78000000
+#define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x14000000 /* 320M byte */
#define CONFIG_CMD_BOOTI
#define CONFIG_ANDROID_RECOVERY
@@ -104,12 +104,9 @@
#define CONFIG_MTD_PARTITIONS
#define CONFIG_TIMESTAMP
-#define CONFIG_ANDROID_RECOVERY_BOOTARGS_MMC \
- "setenv bootargs ${bootargs} init=/init root=/dev/mmcblk0p4 rootfs=ext4 video=mxcdi1fb:RGB666,XGA ldb=di1 di1_primary"
-#define CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC \
- "run bootargs_base bootargs_android_recovery; " \
- "mmc dev 1 0; " \
- "mmc read ${loadaddr} 0x800 0x2000;bootm"
+#define CONFIG_ANDROID_RECOVERY_BOOTARGS_MMC NULL
+#define CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC \
+ "booti mmc1 recovery"
#define CONFIG_ANDROID_RECOVERY_CMD_FILE "/recovery/command"
#define CONFIG_ANDROID_BOOT_PARTITION_MMC -1