summaryrefslogtreecommitdiff
path: root/include/configs/sun4i.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-06-09 11:36:57 +0200
committerIan Campbell <ijc@hellion.org.uk>2014-07-06 20:12:44 +0100
commit745325a97d172a71dea4ec7528224ed63973d601 (patch)
treed71f3e1391a43172f40644c81518648cc437f04f /include/configs/sun4i.h
parentc7e79dec85f324565cee03f5be1d1a7765481573 (diff)
downloadu-boot-imx-745325a97d172a71dea4ec7528224ed63973d601.zip
u-boot-imx-745325a97d172a71dea4ec7528224ed63973d601.tar.gz
u-boot-imx-745325a97d172a71dea4ec7528224ed63973d601.tar.bz2
sunxi: Add sun4i support
Add support for the Allwinner A10 SoC also known as the Allwinner sun4i family, and add the Cubieboard board which uses the A10 SoC. Compared to sun7 only the DRAM controller is a bit different: -Controller reset bits are inverted, but only for Rev. A -Different hpcr values -No MBUS on sun4i -Various other initialization changes Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net> Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Oliver Schinagl <oliver@schinagl.nl> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include/configs/sun4i.h')
-rw-r--r--include/configs/sun4i.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/configs/sun4i.h b/include/configs/sun4i.h
new file mode 100644
index 0000000..6560b65
--- /dev/null
+++ b/include/configs/sun4i.h
@@ -0,0 +1,23 @@
+/*
+ * (C) Copyright 2012-2013 Henrik Nordstrom <henrik@henriknordstrom.net>
+ *
+ * Configuration settings for the Allwinner A10 (sun4i) CPU
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+/*
+ * A10 specific configuration
+ */
+#define CONFIG_SUN4I /* sun4i SoC generation */
+
+#define CONFIG_SYS_PROMPT "sun4i# "
+
+/*
+ * Include common sunxi configuration where most the settings are
+ */
+#include <configs/sunxi-common.h>
+
+#endif /* __CONFIG_H */