summaryrefslogtreecommitdiff
path: root/include/configs/sunxi-common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-01-26 13:22:40 -0500
committerTom Rini <trini@konsulko.com>2018-01-26 13:22:40 -0500
commit748277c415ff5bd74d6913928cab2a3da6a0b69f (patch)
tree696d1e5f0a37c3d80752a30fafb37ea2763bbe2e /include/configs/sunxi-common.h
parentab12aa24e619b5e81cbde7de88c6d9a19f04313b (diff)
parenta6968ecb0ad6b06552c97005eba265a4c5761626 (diff)
downloadu-boot-748277c415ff5bd74d6913928cab2a3da6a0b69f.tar.gz
u-boot-748277c415ff5bd74d6913928cab2a3da6a0b69f.tar.bz2
u-boot-748277c415ff5bd74d6913928cab2a3da6a0b69f.zip
Merge git://git.denx.de/u-boot-sunxi
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r--include/configs/sunxi-common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 582aba298a..9b3944ad13 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -147,6 +147,16 @@
#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