summaryrefslogtreecommitdiff
path: root/include/configs/crs3xx-98dx3236.h
diff options
context:
space:
mode:
authorLuka Kovacic <luka.kovacic@sartura.hr>2020-05-26 20:17:50 +0200
committerStefan Roese <sr@denx.de>2020-05-27 07:03:17 +0200
commitdf9ebbe17ea13de4c443849ecf23cba545dd0395 (patch)
tree5c1d729ab4821e32f6b196ba0d761d6d789d8518 /include/configs/crs3xx-98dx3236.h
parent8678776df6f5b77bbb504b2b3b02e61f73b9168d (diff)
arm: mvebu: Convert CRS305-1G-4S board to CRS3xx-98DX3236
Convert the CRS305-1G-4S board to CRS3xx-98DX3236 to enable easier implementation of new CRS3xx series boards, based on Marvell Prestera 98DX3236. Signed-off-by: Luka Kovacic <luka.kovacic@sartura.hr> Reviewed-by: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Jakov Petrina <jakov.petrina@sartura.hr>
Diffstat (limited to 'include/configs/crs3xx-98dx3236.h')
-rw-r--r--include/configs/crs3xx-98dx3236.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/configs/crs3xx-98dx3236.h b/include/configs/crs3xx-98dx3236.h
new file mode 100644
index 0000000000..e2ba7b8126
--- /dev/null
+++ b/include/configs/crs3xx-98dx3236.h
@@ -0,0 +1,35 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2014 Stefan Roese <sr@denx.de>
+ */
+
+#ifndef _CONFIG_CRS3XX_98DX3236_H
+#define _CONFIG_CRS3XX_98DX3236_H
+
+/*
+ * High Level Configuration Options (easy to change)
+ */
+
+#define CONFIG_SYS_BOOTM_LEN (64 * 1024 * 1024) /* 64 MB */
+#define CONFIG_SYS_KWD_CONFIG $(CONFIG_BOARDDIR)/kwbimage.cfg
+#define CONFIG_SYS_TCLK 200000000 /* 200MHz */
+
+/* USB/EHCI configuration */
+#define CONFIG_EHCI_IS_TDI
+
+/* Environment in SPI NOR flash */
+
+/* Keep device tree and initrd in lower memory so the kernel can access them */
+#define CONFIG_EXTRA_ENV_SETTINGS \
+ "fdt_high=0x10000000\0" \
+ "initrd_high=0x10000000\0"
+
+/*
+ * mv-common.h should be defined after CMD configs since it used them
+ * to enable certain macros
+ */
+#include "mv-common.h"
+#undef CONFIG_SYS_MAXARGS
+#define CONFIG_SYS_MAXARGS 96
+
+#endif /* _CONFIG_CRS3XX_98DX3236_H */