[v3,5/9] conf/machine: add support for rk312x

Submitted by ayaka on June 20, 2019, 11:19 a.m. | Patch ID: 162375

Details

Message ID 20190620111911.4736-6-ayaka@soulik.info
State New
Headers show

Commit Message

ayaka June 20, 2019, 11:19 a.m.
From: Randy 'ayaka' Li <ayaka@soulik.info>

RK312X are a serial called RK audio. All of them sharing
the simliar hardware configure. A quad-core ARM Cortex-A7
processor with separately Neon and FPU coprocessor, they
also share a 256KB L2 Cache.

All chips in this serial have a Mali 400 MP2 GPU.

Signed-off-by: Randy 'ayaka' Li <ayaka@soulik.info>
---
 conf/machine/include/rk312x.inc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 conf/machine/include/rk312x.inc

Patch hide | download patch | download mbox

diff --git a/conf/machine/include/rk312x.inc b/conf/machine/include/rk312x.inc
new file mode 100644
index 0000000..675c699
--- /dev/null
+++ b/conf/machine/include/rk312x.inc
@@ -0,0 +1,17 @@ 
+# Copyright (C) 2019 SUMOMO Computer Assocation
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+# a serial of chips
+SOC_FAMILY = "rk312x"
+
+require conf/machine/include/tune-cortexa7.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "115200;ttyS2"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+SPL_BINARY ?= "u-boot-spl-nodtb.bin"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"