summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Jonker <jbx6244@gmail.com>2022-04-16 17:09:48 +0200
committerKever Yang <kever.yang@rock-chips.com>2022-04-18 11:25:13 +0800
commit62fcd72ef29c62961a50f77a6427e454627762de (patch)
tree6647037e51ed70788d255410ad169ecef450eeb3
parent33f4750783080302afd8f00bb07bd18d6e94f073 (diff)
downloadu-boot-62fcd72ef29c62961a50f77a6427e454627762de.tar.gz
u-boot-62fcd72ef29c62961a50f77a6427e454627762de.tar.bz2
u-boot-62fcd72ef29c62961a50f77a6427e454627762de.zip
rockchip: rk3066: add Rikomagic MK808 board
MK808 is a RK3066-based board with 1 USB host and 1 USB OTG port, HDMI and a micro-SD card slot. It also includes on-board NAND and 1GB of SDRAM. Signed-off-by: Johan Jonker <jbx6244@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
-rw-r--r--arch/arm/mach-rockchip/rk3066/Kconfig9
-rw-r--r--board/rikomagic/mk808/Kconfig15
-rw-r--r--board/rikomagic/mk808/MAINTAINERS6
-rw-r--r--board/rikomagic/mk808/Makefile3
-rw-r--r--board/rikomagic/mk808/mk808.c3
5 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/rk3066/Kconfig b/arch/arm/mach-rockchip/rk3066/Kconfig
index 335f49bc55..95d7fc8a29 100644
--- a/arch/arm/mach-rockchip/rk3066/Kconfig
+++ b/arch/arm/mach-rockchip/rk3066/Kconfig
@@ -1,5 +1,12 @@
if ROCKCHIP_RK3066
+config TARGET_MK808
+ bool "MK808"
+ help
+ MK808 is a RK3066-based board with 1 USB host and 1 USB OTG port,
+ HDMI and a micro-SD card slot. It also includes on-board NAND
+ and 1GB of SDRAM.
+
config ROCKCHIP_BOOT_MODE_REG
default 0x20004040
@@ -27,4 +34,6 @@ config TPL_LIBGENERIC_SUPPORT
config TPL_SERIAL
default y
+source "board/rikomagic/mk808/Kconfig"
+
endif
diff --git a/board/rikomagic/mk808/Kconfig b/board/rikomagic/mk808/Kconfig
new file mode 100644
index 0000000000..4abad7e750
--- /dev/null
+++ b/board/rikomagic/mk808/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_MK808
+
+config SYS_BOARD
+ default "mk808"
+
+config SYS_VENDOR
+ default "rikomagic"
+
+config SYS_CONFIG_NAME
+ default "mk808"
+
+config BOARD_SPECIFIC_OPTIONS # dummy
+ def_bool y
+
+endif
diff --git a/board/rikomagic/mk808/MAINTAINERS b/board/rikomagic/mk808/MAINTAINERS
new file mode 100644
index 0000000000..b3ef6adb91
--- /dev/null
+++ b/board/rikomagic/mk808/MAINTAINERS
@@ -0,0 +1,6 @@
+MK808
+M: Johan Jonker <jbx6244@gmail.com>
+S: Maintained
+F: board/rikomagic/mk808
+F: configs/mk808_defconfig
+F: include/configs/mk808.h
diff --git a/board/rikomagic/mk808/Makefile b/board/rikomagic/mk808/Makefile
new file mode 100644
index 0000000000..a4d16884df
--- /dev/null
+++ b/board/rikomagic/mk808/Makefile
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0+
+
+obj-y += mk808.o
diff --git a/board/rikomagic/mk808/mk808.c b/board/rikomagic/mk808/mk808.c
new file mode 100644
index 0000000000..e0bfc6f331
--- /dev/null
+++ b/board/rikomagic/mk808/mk808.c
@@ -0,0 +1,3 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+#include <common.h>