summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2016-07-26 07:34:07 +0200
committerTom Rini <trini@konsulko.com>2016-08-08 13:32:52 -0400
commit5aa79f26762d197324866a0d0c2b31601a7fc8ee (patch)
tree3e5194d8a90c6b3eda98fcf28d2dd2eb804569ca /include/configs
parent5405817a6e7a6538c4bcb1c3076ddc83fe5d03f9 (diff)
downloadu-boot-imx-5aa79f26762d197324866a0d0c2b31601a7fc8ee.zip
u-boot-imx-5aa79f26762d197324866a0d0c2b31601a7fc8ee.tar.gz
u-boot-imx-5aa79f26762d197324866a0d0c2b31601a7fc8ee.tar.bz2
spl_nor.c: Support devicetree sizes different from 16k
The devicetrees for various platforms already exceed 16k. Add a define CONFIG_SYS_FDT_SIZE to specify the FDT size, and set to 16k for the two boards that define this CONFIG_SYS_FDT_BASE parameter. This allows platforms with larger devicetree blobs to boot from NOR. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/a3m071.h1
-rw-r--r--include/configs/microblaze-generic.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/a3m071.h b/include/configs/a3m071.h
index 8f17dd1..ab2477c 100644
--- a/include/configs/a3m071.h
+++ b/include/configs/a3m071.h
@@ -334,6 +334,7 @@
#define CONFIG_SYS_OS_BASE 0xfc200000
#define CONFIG_SYS_FDT_BASE 0xfc1e0000
+#define CONFIG_SYS_FDT_SIZE (16<<10)
#define CONFIG_EXTRA_ENV_SETTINGS \
"netdev=eth0\0" \
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 047e756..e5bf700 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -305,6 +305,7 @@
0x60000)
#define CONFIG_SYS_FDT_BASE (CONFIG_SYS_FLASH_BASE + \
0x40000)
+#define CONFIG_SYS_FDT_SIZE (16<<10)
#define CONFIG_SYS_SPL_ARGS_ADDR (CONFIG_SYS_TEXT_BASE + \
0x1000000)