summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-mx50/mx50.h3
-rw-r--r--include/configs/mx50_rdp_android.h9
2 files changed, 11 insertions, 1 deletions
diff --git a/include/asm-arm/arch-mx50/mx50.h b/include/asm-arm/arch-mx50/mx50.h
index b912040..9c905e5 100644
--- a/include/asm-arm/arch-mx50/mx50.h
+++ b/include/asm-arm/arch-mx50/mx50.h
@@ -293,7 +293,8 @@ enum boot_device {
SD_BOOT,
MMC_BOOT,
NAND_BOOT,
- UNKNOWN_BOOT
+ UNKNOWN_BOOT,
+ BOOT_DEV_NUM = UNKNOWN_BOOT,
};
enum mxc_clock {
diff --git a/include/configs/mx50_rdp_android.h b/include/configs/mx50_rdp_android.h
index d1bf934..ac4cc80 100644
--- a/include/configs/mx50_rdp_android.h
+++ b/include/configs/mx50_rdp_android.h
@@ -312,6 +312,15 @@
#define CONFIG_FASTBOOT_TRANSFER_BUF 0x80000000
#define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x8000000 /* 128M byte */
+#define CONFIG_ANDROID_RECOVERY
+#define CONFIG_ANDROID_RECOVERY_BOOTARGS_MMC \
+ "setenv bootargs ${bootargs} init=/init root=/dev/mmcblk0p4" \
+ "rootfs=ext4 keypad"
+#define CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC \
+ "run bootargs_base bootargs_android_recovery;" \
+ "mmc read 0 ${loadaddr} 0x800 0x2000;bootm"
+#define CONFIG_ANDROID_RECOVERY_CMD_FILE "/recovery/command"
+
#define CONFIG_MTD_DEVICE
#define CONFIG_MTD_PARTITIONS