aboutsummaryrefslogtreecommitdiff
path: root/include/configs/broadcom_bcm963158.h
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2019-01-31 18:57:36 +0100
committerTom Rini <trini@konsulko.com>2019-02-09 07:50:59 -0500
commitbe2fc084d92fcb8092f6e925604072ca949f192f (patch)
treee1130ecb74c0c878b6d11044ea239768672f5836 /include/configs/broadcom_bcm963158.h
parentea1a7de532823820739db2fa2ca8d62214bf6ce8 (diff)
downloadu-boot-be2fc084d92fcb8092f6e925604072ca949f192f.zip
u-boot-be2fc084d92fcb8092f6e925604072ca949f192f.tar.gz
u-boot-be2fc084d92fcb8092f6e925604072ca949f192f.tar.bz2
bcm963158: add initial support
This add the initial support of the broadcom reference board bcm963158 with a bcm63158 SoC. This board has 1 GB of ram, 512 MB of flash (nand), 2 usb port, 1 uart, 4 ethernet ports (LAN), 1 ethernet port (WAN). Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'include/configs/broadcom_bcm963158.h')
-rw-r--r--include/configs/broadcom_bcm963158.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/include/configs/broadcom_bcm963158.h b/include/configs/broadcom_bcm963158.h
new file mode 100644
index 0000000..5834e1e
--- /dev/null
+++ b/include/configs/broadcom_bcm963158.h
@@ -0,0 +1,37 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2019 Philippe Reynes <philippe.reynes@softathome.com>
+ */
+
+#include <linux/sizes.h>
+
+/*
+ * common
+ */
+
+/* UART */
+#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \
+ 230400, 500000, 1500000 }
+/* Memory usage */
+#define CONFIG_SYS_MAXARGS 24
+#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)
+#define CONFIG_SYS_BOOTM_LEN (16 * 1024 * 1024)
+
+/*
+ * 63158
+ */
+
+/* RAM */
+#define CONFIG_SYS_SDRAM_BASE 0x00000000
+
+/* U-Boot */
+#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + SZ_16M)
+#define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_TEXT_BASE
+
+#define CONFIG_SKIP_LOWLEVEL_INIT
+
+/*
+ * bcm963158
+ */
+
+#define CONFIG_ENV_SIZE (8 * 1024)