summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/configs/mx6sabreandroid_common.h17
-rw-r--r--include/configs/mx6slevkandroid.h3
-rw-r--r--include/configs/mx6sxsabreautoandroid.h17
-rw-r--r--include/configs/mx6sxsabresdandroid.h13
-rw-r--r--include/configs/mx6ul_14x14_evk_android.h2
-rw-r--r--include/configs/mx7dsabresdandroid.h3
6 files changed, 50 insertions, 5 deletions
diff --git a/include/configs/mx6sabreandroid_common.h b/include/configs/mx6sabreandroid_common.h
index 3922f67..2f35bd9 100644
--- a/include/configs/mx6sabreandroid_common.h
+++ b/include/configs/mx6sabreandroid_common.h
@@ -11,6 +11,19 @@
#define CONFIG_USBD_HS
#define CONFIG_USB_GADGET_DUALSPEED
+
+#define CONFIG_BCB_SUPPORT
+#define CONFIG_CMD_READ
+/* For NAND we don't support lock/unlock */
+#ifndef CONFIG_NAND_BOOT
+#define CONFIG_FASTBOOT_LOCK
+#define FSL_FASTBOOT_FB_DEV "mmc"
+#define FASTBOOT_ENCRYPT_LOCK
+#define CONFIG_FSL_CAAM_KB
+#define CONFIG_CMD_FSL_CAAM_KB
+#define CONFIG_SHA1
+#define CONFIG_SHA256
+#endif
#define CONFIG_USB_GADGET
#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
@@ -29,7 +42,7 @@
#define CONFIG_FSL_FASTBOOT
#define CONFIG_ANDROID_RECOVERY
-#if defined CONFIG_SYS_BOOT_NAND
+#if defined CONFIG_NAND_BOOT
#define CONFIG_FASTBOOT_STORAGE_NAND
#elif defined CONFIG_SYS_BOOT_SATA
#define CONFIG_FASTBOOT_STORAGE_SATA
@@ -39,7 +52,7 @@
#endif
#if defined(CONFIG_FASTBOOT_STORAGE_NAND)
-#define ANDROID_FASTBOOT_NAND_PARTS "16m@64m(boot) 16m@80m(recovery) 810m@96m(android_root)ubifs"
+#define ANDROID_FASTBOOT_NAND_PARTS "16m@64m(boot) 16m@80m(recovery) 1m@96m(misc) 810m@97m(android_root)ubifs"
#endif
#define CONFIG_CMD_BOOTA
diff --git a/include/configs/mx6slevkandroid.h b/include/configs/mx6slevkandroid.h
index b12ee80..2aee928 100644
--- a/include/configs/mx6slevkandroid.h
+++ b/include/configs/mx6slevkandroid.h
@@ -14,6 +14,9 @@
#define CONFIG_USBD_HS
#define CONFIG_USB_GADGET_DUALSPEED
+#define CONFIG_BCB_SUPPORT
+#define CONFIG_CMD_READ
+
#define CONFIG_USB_GADGET
#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
diff --git a/include/configs/mx6sxsabreautoandroid.h b/include/configs/mx6sxsabreautoandroid.h
index 0da63a7..cfbe92e 100644
--- a/include/configs/mx6sxsabreautoandroid.h
+++ b/include/configs/mx6sxsabreautoandroid.h
@@ -12,6 +12,19 @@
#define CONFIG_USBD_HS
#define CONFIG_USB_GADGET_DUALSPEED
+#define CONFIG_BCB_SUPPORT
+#define CONFIG_CMD_READ
+/* For NAND we don't support lock/unlock */
+#ifndef CONFIG_NAND_BOOT
+#define CONFIG_FASTBOOT_LOCK
+#define FSL_FASTBOOT_FB_DEV "mmc"
+#define FASTBOOT_ENCRYPT_LOCK
+#define CONFIG_FSL_CAAM_KB
+#define CONFIG_CMD_FSL_CAAM_KB
+#define CONFIG_SHA1
+#define CONFIG_SHA256
+#endif
+
#define CONFIG_USB_GADGET
#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
@@ -30,14 +43,14 @@
#define CONFIG_FSL_FASTBOOT
#define CONFIG_ANDROID_RECOVERY
-#if defined CONFIG_SYS_BOOT_NAND
+#if defined CONFIG_NAND_BOOT
#define CONFIG_FASTBOOT_STORAGE_NAND
#else
#define CONFIG_FASTBOOT_STORAGE_MMC
#endif
#if defined(CONFIG_FASTBOOT_STORAGE_NAND)
-#define ANDROID_FASTBOOT_NAND_PARTS "16m@64m(boot) 16m@80m(recovery) 810m@96m(android_root)ubifs"
+#define ANDROID_FASTBOOT_NAND_PARTS "16m@64m(boot) 16m@80m(recovery) 1m@96m(misc) 810m@97m(android_root)ubifs"
#endif
#define CONFIG_CMD_BOOTA
diff --git a/include/configs/mx6sxsabresdandroid.h b/include/configs/mx6sxsabresdandroid.h
index b733665..86ab49e 100644
--- a/include/configs/mx6sxsabresdandroid.h
+++ b/include/configs/mx6sxsabresdandroid.h
@@ -12,6 +12,19 @@
#define CONFIG_USBD_HS
#define CONFIG_USB_GADGET_DUALSPEED
+#define CONFIG_BCB_SUPPORT
+#define CONFIG_CMD_READ
+/* For NAND we don't support lock/unlock */
+#ifndef CONFIG_NAND_BOOT
+#define CONFIG_FASTBOOT_LOCK
+#define FSL_FASTBOOT_FB_DEV "mmc"
+#define FASTBOOT_ENCRYPT_LOCK
+#define CONFIG_FSL_CAAM_KB
+#define CONFIG_CMD_FSL_CAAM_KB
+#define CONFIG_SHA1
+#define CONFIG_SHA256
+#endif
+
#define CONFIG_USB_GADGET
#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
diff --git a/include/configs/mx6ul_14x14_evk_android.h b/include/configs/mx6ul_14x14_evk_android.h
index 4318cfd..53c0096 100644
--- a/include/configs/mx6ul_14x14_evk_android.h
+++ b/include/configs/mx6ul_14x14_evk_android.h
@@ -30,7 +30,7 @@
#define CONFIG_FSL_FASTBOOT
#define CONFIG_ANDROID_RECOVERY
-#if defined CONFIG_SYS_BOOT_NAND
+#if defined CONFIG_NAND_BOOT
#define CONFIG_FASTBOOT_STORAGE_NAND
#else
#define CONFIG_FASTBOOT_STORAGE_MMC
diff --git a/include/configs/mx7dsabresdandroid.h b/include/configs/mx7dsabresdandroid.h
index da06742..a545f00 100644
--- a/include/configs/mx7dsabresdandroid.h
+++ b/include/configs/mx7dsabresdandroid.h
@@ -12,6 +12,9 @@
#define CONFIG_USBD_HS
#define CONFIG_USB_GADGET_DUALSPEED
+#define CONFIG_BCB_SUPPORT
+#define CONFIG_CMD_READ
+
#define CONFIG_USB_GADGET
#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE