summaryrefslogtreecommitdiff
path: root/include/configs/P1022DS.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-05-03 09:19:43 -0400
committerTom Rini <trini@ti.com>2013-05-03 09:19:43 -0400
commit5ed6f447af60aabd2669d913f673793c1ce48f47 (patch)
tree933b803ff477fe64590edfca0f6e00b4892872b4 /include/configs/P1022DS.h
parent3fe012854040280d1efd76dbe6c439e3219850ce (diff)
downloadu-boot-imx-5ed6f447af60aabd2669d913f673793c1ce48f47.zip
u-boot-imx-5ed6f447af60aabd2669d913f673793c1ce48f47.tar.gz
u-boot-imx-5ed6f447af60aabd2669d913f673793c1ce48f47.tar.bz2
P1022DS: Set CONFIG_SPL_MAX_SIZE directly
With the u-boot-with-spl.bin rule calling $(OBJCOPY) with CONFIG_SPL_PAD_TO, and CONFIG_SPL_PAD_TO defaulting to CONFIG_SPL_MAX_SIZE we cannot use math here, so set it to 4096 rather than 4 * 1024. Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/configs/P1022DS.h')
-rw-r--r--include/configs/P1022DS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index b282e7b..8b13b10 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -47,7 +47,7 @@
#define CONFIG_SYS_TEXT_BASE 0x00201000
#define CONFIG_SPL_TEXT_BASE 0xfffff000
-#define CONFIG_SPL_MAX_SIZE (4 * 1024)
+#define CONFIG_SPL_MAX_SIZE 4096
#define CONFIG_SPL_RELOC_TEXT_BASE 0x00100000
#define CONFIG_SPL_RELOC_STACK 0x00100000
#define CONFIG_SYS_NAND_U_BOOT_SIZE ((512 << 10) + CONFIG_SPL_MAX_SIZE)