aboutsummaryrefslogtreecommitdiff
path: root/include/configs/bcm7445.h
diff options
context:
space:
mode:
authorThomas Fitzsimmons <fitzsim@fitzsim.org>2018-08-22 18:37:54 -0400
committerTom Rini <trini@konsulko.com>2018-09-10 21:19:31 -0400
commit12109573042ce7b10bc67c20abcc07df5238094d (patch)
treedb87f39becd4dc06127f41a15a85960f89419348 /include/configs/bcm7445.h
parent93b283d49f933f95f3a6f40762936f454ac655a8 (diff)
downloadu-boot-12109573042ce7b10bc67c20abcc07df5238094d.zip
u-boot-12109573042ce7b10bc67c20abcc07df5238094d.tar.gz
u-boot-12109573042ce7b10bc67c20abcc07df5238094d.tar.bz2
arm: bcm7445: Change serial console index
Change the configured serial console index to reflect that it is the first physical UART, reorder some defconfig lines and move some environment configuration from bcmstb.h to bcm7445.h. Signed-off-by: Thomas Fitzsimmons <fitzsim@fitzsim.org> Cc: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'include/configs/bcm7445.h')
-rw-r--r--include/configs/bcm7445.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/configs/bcm7445.h b/include/configs/bcm7445.h
index f34cf2d..8c675f7 100644
--- a/include/configs/bcm7445.h
+++ b/include/configs/bcm7445.h
@@ -10,7 +10,7 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#define CONFIG_SYS_NS16550_COM3 0xf040ab00
+#define CONFIG_SYS_NS16550_COM1 0xf040ab00
#define CONFIG_SYS_TEXT_BASE 0x80100000
#define CONFIG_SYS_INIT_RAM_ADDR 0x80200000
@@ -28,7 +28,12 @@
#define BCMSTB_HIF_SPI_INTR2 0xf03e1a00
#define BCMSTB_CS_REG 0xf03e0920
-#define CONFIG_ENV_IS_IN_SPI_FLASH 1
+/*
+ * Environment configuration for SPI flash.
+ */
+#define CONFIG_ENV_OFFSET 0x1e0000
+#define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE
+
#define CONFIG_DM_SPI 1
#define CONFIG_SYS_MAX_FLASH_BANKS 1
#define CONFIG_CMD_SF