]> git.sur5r.net Git - u-boot/blobdiff - include/configs/sunxi-common.h
Merge git://git.denx.de/u-boot-sunxi
[u-boot] / include / configs / sunxi-common.h
index 582aba298af921c1e1bae96f642a0226f366f2c4..9b3944ad1309b7afb534b26af1a3d95be657d912 100644 (file)
 #endif
 
 #if defined(CONFIG_ENV_IS_IN_MMC)
+
+#ifdef CONFIG_ARM64
+/*
+ * This is actually (CONFIG_ENV_OFFSET -
+ * (CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)), but the value will be used
+ * directly in a makefile, without the preprocessor expansion.
+ */
+#define CONFIG_BOARD_SIZE_LIMIT                0x7e000
+#endif
+
 #if CONFIG_MMC_SUNXI_SLOT_EXTRA != -1
 /* If we have two devices (most likely eMMC + MMC), favour the eMMC */
 #define CONFIG_SYS_MMC_ENV_DEV         1