summaryrefslogtreecommitdiff
path: root/include/configs/bcm7445.h
diff options
context:
space:
mode:
authorThomas Fitzsimmons <fitzsim@fitzsim.org>2018-07-27 06:02:47 +0300
committerTom Rini <trini@konsulko.com>2018-08-13 21:03:57 +0300
commit1246040cdaa5c9a1d7216777b06c11c441a187ea (patch)
treead88597425445cfa1436214f93cae11b9ff5232d /include/configs/bcm7445.h
parentdc7685e2c59d8f11b9347302dd34d73b7d9c3981 (diff)
downloadu-boot-1246040cdaa5c9a1d7216777b06c11c441a187ea.tar.xz
arm: bcm7445: Move config defines to bcm7445.h
Move some configuration #defines that do not apply to other bcmstb boards from bcmstb.h to bcm7445.h. Signed-off-by: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Diffstat (limited to 'include/configs/bcm7445.h')
-rw-r--r--include/configs/bcm7445.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/include/configs/bcm7445.h b/include/configs/bcm7445.h
index f7200357eb..4601adf930 100644
--- a/include/configs/bcm7445.h
+++ b/include/configs/bcm7445.h
@@ -10,10 +10,17 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#include "bcmstb.h"
-
#define CONFIG_SYS_NS16550_COM3 0xf040ab00
+#define CONFIG_NR_DRAM_BANKS 3
+
+#define CONFIG_SYS_TEXT_BASE 0x80100000
+#define CONFIG_SYS_INIT_RAM_ADDR 0x80200000
+
+#define CONFIG_SYS_MALLOC_LEN ((10 * 1024) << 10) /* 10 MiB */
+
+#include "bcmstb.h"
+
#define BCMSTB_SDHCI_BASE 0xf03e0200
#define BCMSTB_TIMER_LOW 0xf0412008
#define BCMSTB_TIMER_HIGH 0xf041200c
@@ -23,4 +30,11 @@
#define BCMSTB_HIF_SPI_INTR2 0xf03e1a00
#define BCMSTB_CS_REG 0xf03e0920
+#define CONFIG_ENV_IS_IN_SPI_FLASH 1
+#define CONFIG_DM_SPI 1
+#define CONFIG_SYS_MAX_FLASH_BANKS 1
+#define CONFIG_CMD_SF
+#define CONFIG_CMD_SPI
+#define CONFIG_CMD_SF_TEST
+
#endif /* __CONFIG_H */