[meta-rockchip] rock-pi-e: use common rk3328.inc

Submitted by Trevor Woerner on June 18, 2021, 5:51 p.m. | Patch ID: 179896

Details

Message ID 20210618175109.8587-1-twoerner@gmail.com
State New
Headers show

Commit Message

Trevor Woerner June 18, 2021, 5:51 p.m.
Now that there is a second rk3328-based MACHINE (rock64) switch rock-pi-e to
use the common rk3328 include.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 conf/machine/rock-pi-e.conf | 21 +++------------------
 1 file changed, 3 insertions(+), 18 deletions(-)

Patch hide | download patch | download mbox

diff --git a/conf/machine/rock-pi-e.conf b/conf/machine/rock-pi-e.conf
index 035a950..38362a0 100644
--- a/conf/machine/rock-pi-e.conf
+++ b/conf/machine/rock-pi-e.conf
@@ -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"