summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorLoic Devulder <ldevulder@suse.de>2018-10-03 12:02:07 +0200
committerTom Rini <trini@konsulko.com>2018-10-10 13:32:40 -0400
commit8afd4ea5b9d5d9a18db4e9fee16d89999711d205 (patch)
tree8a26206764720018a2c7acfffd2fc57145b37dbc /include/configs
parent2058b7395ee1a9345dd1115ce9f3310c59b3102e (diff)
ARM: meson: Add Khadas VIM2 board support
This adds platform code for the Khadas VIM2 board based on a Meson GXM (S912) SoC with the Meson GXM configuration. This initial submission supports UART, MMC/SDCard and Ethernet. USB is partially supported. All the code is from Neil Armstrong! I just rebased the code, do some cleanup and tested on my board. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Loic Devulder <ldevulder@suse.de> Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/khadas-vim2.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/configs/khadas-vim2.h b/include/configs/khadas-vim2.h
new file mode 100644
index 0000000000..7ef8f42bd2
--- /dev/null
+++ b/include/configs/khadas-vim2.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Configuration for Khadas VIM2
+ *
+ * Copyright (C) 2017 Baylibre, SAS
+ * Author: Neil Armstrong <narmstrong@baylibre.com>
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#define CONFIG_MISC_INIT_R
+
+#define MESON_FDTFILE_SETTING "fdtfile=amlogic/meson-gxm-khadas-vim2.dtb\0"
+
+#include <configs/meson-gx-common.h>
+
+#endif /* __CONFIG_H */