Skip to contentSkip to conversation

rock-pi-e: use common rk3328.inc

PATCH New Trevor Woerner 1 participant 1 message Jun 18, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rock-pi-e: use common rk3328.inc

Now that there is a second rk3328-based MACHINE (rock64) switch rock-pi-e to use the common rk3328 include.

---
 conf/machine/rock-pi-e.conf | 21 +++------------------
 1 file changed, 3 insertions(+), 18 deletions(-)
conf/machine/rock-pi-e.conf +3 -18
index 035a950..38362a0 100644
@@ -3,29 +3,16 @@
 #@DESCRIPTION: ROCK Pi E is a Rockchip RK3328-based SBC by Radxa. E is for Ethernets.
 #https://wiki.radxa.com/RockpiE
 
-MACHINEOVERRIDES =. "rock-pi-e:"
-SOC_FAMILY = "rk3328"
-DEFAULTTUNE = "cortexa53-crypto"
+require conf/machine/include/rk3328.inc
 
-require conf/machine/include/soc-family.inc
-require conf/machine/include/tune-cortexa53.inc
-require conf/machine/include/rockchip-defaults.inc
+MACHINEOVERRIDES =. "rock-pi-e:"
 
 PREFERRED_PROVIDER_virtual/kernel = "linux-stable-bleeding"
 KERNEL_DEVICETREE = "rockchip/rk3328-rock-pi-e.dtb"
-KBUILD_DEFCONFIG = "defconfig"
-KERNEL_CLASSES = "kernel-fitimage"
-KERNEL_IMAGETYPE = "fitImage"
 MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
 
-TFA_PLATFORM = "rk3328"
-TFA_BUILD_TARGET = "bl31"
-
-UBOOT_MACHINE = "rock-pi-e-rk3328_defconfig"
-UBOOT_SUFFIX = "itb"
-UBOOT_ENTRYPOINT = "0x06000000"
 PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
-SPL_BINARY = "idbloader.img"
+UBOOT_MACHINE = "rock-pi-e-rk3328_defconfig"
 
 WKS_FILE = "rock-pi-e.wks"
 IMAGE_FSTYPES += "wic.xz wic.bmap"
@@ -38,5 +25,3 @@ WKS_FILE_DEPENDS = " \
 IMAGE_BOOT_FILES ?= " \
     ${KERNEL_IMAGETYPE} \
     "
-
-SERIAL_CONSOLES = "1500000;ttyS2"
Signature · 1 line
2.30.0.rc0