summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2014-10-22 16:47:44 +0800
committerHans de Goede <hdegoede@redhat.com>2014-10-24 09:35:39 +0200
commit8ebe4f429266a7cb9011f5b3ab51226297f41210 (patch)
tree3e2bfbf2489b2ec2191ec9ae08694109433d1ef0 /include
parente637b30b9c9f454427e7277eddb6b1f489f3bbc8 (diff)
downloadu-boot-imx-8ebe4f429266a7cb9011f5b3ab51226297f41210.zip
u-boot-imx-8ebe4f429266a7cb9011f5b3ab51226297f41210.tar.gz
u-boot-imx-8ebe4f429266a7cb9011f5b3ab51226297f41210.tar.bz2
ARM: sunxi: Add basic A23 support
The basic blocks of the A23 are similar to the A31 (sun6i). Re-use sun6i code for initial clock, gpio, and uart setup. There is no SPL support for A23, as we do not have any documentation or sample code for DRAM initialization. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sun8i.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/configs/sun8i.h b/include/configs/sun8i.h
new file mode 100644
index 0000000..1c1a7cd
--- /dev/null
+++ b/include/configs/sun8i.h
@@ -0,0 +1,23 @@
+/*
+ * (C) Copyright 2014 Chen-Yu Tsai <wens@csie.org>
+ *
+ * Configuration settings for the Allwinner A23 (sun8i) CPU
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+/*
+ * A23 specific configuration
+ */
+#define CONFIG_SUN8I /* sun8i SoC generation */
+#define CONFIG_SYS_PROMPT "sun8i# "
+
+/*
+ * Include common sunxi configuration where most the settings are
+ */
+#include <configs/sunxi-common.h>
+
+#endif /* __CONFIG_H */