summaryrefslogtreecommitdiff
path: root/include/configs/mx6sxsabresdandroid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/mx6sxsabresdandroid.h')
-rw-r--r--include/configs/mx6sxsabresdandroid.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/include/configs/mx6sxsabresdandroid.h b/include/configs/mx6sxsabresdandroid.h
index 22c7892..0391714 100644
--- a/include/configs/mx6sxsabresdandroid.h
+++ b/include/configs/mx6sxsabresdandroid.h
@@ -33,10 +33,6 @@
#define CONFIG_FASTBOOT_LOCK
#endif
-#define FSL_FASTBOOT_FB_DEV "mmc"
-#define FSL_FASTBOOT_DATA_PART_NUM 4
-#define FSL_FASTBOOT_FB_PART_NUM 11
-#define FSL_FASTBOOT_PR_DATA_PART_NUM 12
#define CONFIG_FSL_CAAM_KB
#define CONFIG_CMD_FSL_CAAM_KB
@@ -49,12 +45,23 @@
#define CONFIG_FASTBOOT_STORAGE_MMC
#define CONFIG_ANDROID_MAIN_MMC_BUS 2
+
+#ifndef CONFIG_EFI_PARTITION
#define CONFIG_ANDROID_BOOT_PARTITION_MMC 1
#define CONFIG_ANDROID_SYSTEM_PARTITION_MMC 5
#define CONFIG_ANDROID_RECOVERY_PARTITION_MMC 2
#define CONFIG_ANDROID_CACHE_PARTITION_MMC 6
#define CONFIG_ANDROID_DATA_PARTITION_MMC 4
#define CONFIG_ANDROID_MISC_PARTITION_MMC 8
+#endif
+
+#ifdef CONFIG_FASTBOOT_LOCK
+#define FSL_FASTBOOT_FB_DEV "mmc"
+#ifndef CONFIG_EFI_PARTITION
+#define CONFIG_ANDROID_FBMISC_PARTITION_MMC 11
+#define CONFIG_ANDROID_PRDATA_PARTITION_MMC 12
+#endif
+#endif /* CONFIG_FASTBOOT_LOCK */
#define CONFIG_CMD_BOOTA
#define CONFIG_SUPPORT_RAW_INITRD