]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3066: add Rikomagic MK808 board
authorJohan Jonker <jbx6244@gmail.com>
Sat, 16 Apr 2022 15:09:48 +0000 (17:09 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 18 Apr 2022 03:25:13 +0000 (11:25 +0800)
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>
arch/arm/mach-rockchip/rk3066/Kconfig
board/rikomagic/mk808/Kconfig [new file with mode: 0644]
board/rikomagic/mk808/MAINTAINERS [new file with mode: 0644]
board/rikomagic/mk808/Makefile [new file with mode: 0644]
board/rikomagic/mk808/mk808.c [new file with mode: 0644]

index 335f49bc557dda356e498fc9554f42a64ac94cb4..95d7fc8a291773188195e0ac039f6b967b4f4031 100644 (file)
@@ -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 (file)
index 0000000..4abad7e
--- /dev/null
@@ -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 (file)
index 0000000..b3ef6ad
--- /dev/null
@@ -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 (file)
index 0000000..a4d1688
--- /dev/null
@@ -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 (file)
index 0000000..e0bfc6f
--- /dev/null
@@ -0,0 +1,3 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+#include <common.h>