Skip to content

Instantly share code, notes, and snippets.

@checko
Created June 21, 2013 05:22
Show Gist options
  • Save checko/5829047 to your computer and use it in GitHub Desktop.
Save checko/5829047 to your computer and use it in GitHub Desktop.
diff --git a/include/configs/mx53_loco_android.h b/include/configs/mx53_loco_android.h
index 3613af2..e88f7be 100644
--- a/include/configs/mx53_loco_android.h
+++ b/include/configs/mx53_loco_android.h
@@ -80,7 +80,7 @@
#define CONFIG_USB_DEVICE
#define CONFIG_FASTBOOT 1
#define CONFIG_IMX_UDC 1
-#define CONFIG_FASTBOOT_STORAGE_EMMC
+#define CONFIG_FASTBOOT_STORAGE_EMMC_SATA
#define CONFIG_FASTBOOT_VENDOR_ID 0xbb4
#define CONFIG_FASTBOOT_PRODUCT_ID 0xc01
#define CONFIG_FASTBOOT_BCD_DEVICE 0x311
@@ -89,7 +89,8 @@
#define CONFIG_FASTBOOT_CONFIGURATION_STR "Android fastboot"
#define CONFIG_FASTBOOT_INTERFACE_STR "Android fastboot"
#define CONFIG_FASTBOOT_SERIAL_NUM "12345"
-#define CONFIG_FASTBOOT_TRANSFER_BUF 0x80000000
+#define CONFIG_FASTBOOT_SATA_NO 0
+#define CONFIG_FASTBOOT_TRANSFER_BUF 0x80000000
#define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x9400000 /* 148M byte */
#define CONFIG_ANDROID_RECOVERY
@@ -100,6 +101,8 @@
"run bootargs_base bootargs_android_recovery;mmc read 0 ${loadaddr} 0x800 0x2000;bootm"
#define CONFIG_ANDROID_RECOVERY_CMD_FILE "/recovery/command"
+#define CONFIG_ANDROID_SYSTEM_PARTITION_MMC 2
+#define CONFIG_ANDROID_RECOVERY_PARTITION_MMC 4
#define CONFIG_ANDROID_CACHE_PARTITION_MMC 6
/* allow to overwrite serial and ethaddr */
@@ -233,7 +236,7 @@
/* detect whether ESDHC1 or ESDHC3 is boot device */
#define CONFIG_DYNAMIC_MMC_DEVNO
- #define CONFIG_BOOT_PARTITION_ACCESS
+ #undef CONFIG_BOOT_PARTITION_ACCESS
#define CONFIG_EMMC_DDR_PORT_DETECT
#define CONFIG_EMMC_DDR_MODE
/* port 1 (ESDHC3) is 8 bit */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment