From 5aa79f26762d197324866a0d0c2b31601a7fc8ee Mon Sep 17 00:00:00 2001 From: Mike Looijmans Date: Tue, 26 Jul 2016 07:34:07 +0200 Subject: 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 --- include/configs/microblaze-generic.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/microblaze-generic.h') diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 047e756e71..e5bf700853 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) -- cgit v1.2.3