@@ -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
new file mode 100644
@@ -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
new file mode 100644
@@ -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
new file mode 100644
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0+
+
+obj-y += mk808.o
new file mode 100644
@@ -0,0 +1,3 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+#include <common.h>
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> --- arch/arm/mach-rockchip/rk3066/Kconfig | 9 +++++++++ board/rikomagic/mk808/Kconfig | 15 +++++++++++++++ board/rikomagic/mk808/MAINTAINERS | 6 ++++++ board/rikomagic/mk808/Makefile | 3 +++ board/rikomagic/mk808/mk808.c | 3 +++ 5 files changed, 36 insertions(+) create mode 100644 board/rikomagic/mk808/Kconfig create mode 100644 board/rikomagic/mk808/MAINTAINERS create mode 100644 board/rikomagic/mk808/Makefile create mode 100644 board/rikomagic/mk808/mk808.c