summaryrefslogtreecommitdiff
path: root/src/mainboard/pine64/Kconfig
diff options
context:
space:
mode:
authorMoritz Fischer <moritzf@google.com>2021-02-12 15:39:38 -0800
committerron minnich <rminnich@gmail.com>2021-02-18 16:18:18 +0000
commitf34bdf8c5e62244e753836b1f00977bad7041bf9 (patch)
tree784bcbe9b5e61c87f3c77a36c4447bbe254c1b9e /src/mainboard/pine64/Kconfig
parentb2d633db0711a05b617508c3594950bd513cc8e4 (diff)
mainboard/pine64/rockpro64: Add initial ROCKPro64 support
This adds initial support for the Pine64 ROCKPro64 board. The ROCKPro64 (http://pine64.org/rockpro64) is a SBC using the RK3399 SoC with up to 4GB LPDDR4. So far only the bootblock part works, the romstage starts to execute, though. For ramstage to work we'll need to port some of the changes required for LPDDR4 vs LPDDR3. This will be addressed in follow up changes. UART2 on the PI-2 connector can be used as a coreboot console. GND is pin 6 TXD is pin 8 RXD is pin 10 Flashing: I used an OpenWRT nightly for the ROCKPro64 and its builtin tool. $ mtd write coreboot.rom /dev/mtd0 Recovering from a bad flash: To recover from a bad flash bridging pins 23 and 25 on the PI-2 connector will make the board boot from SD card. Signed-off-by: Moritz Fischer <moritzf@google.com> Change-Id: I47d0031fff8ee10b11ad74935eaeb05f1f7eb4b3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50625 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/pine64/Kconfig')
-rw-r--r--src/mainboard/pine64/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mainboard/pine64/Kconfig b/src/mainboard/pine64/Kconfig
new file mode 100644
index 0000000000..238192e1b2
--- /dev/null
+++ b/src/mainboard/pine64/Kconfig
@@ -0,0 +1,17 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+if VENDOR_PINE64
+
+choice
+ prompt "Mainboard model"
+
+source "src/mainboard/pine64/*/Kconfig.name"
+
+endchoice
+
+source "src/mainboard/pine64/*/Kconfig"
+
+config MAINBOARD_VENDOR
+ default "Pine64"
+
+endif # VENDOR_PINE64