From aa913d45800a5c1c3f8faf537ed2ee84d18c5b02 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Mon, 18 Feb 2019 17:45:59 +0000 Subject: [PATCH] raspberrypi-cm3.conf: Define it as a stand alone machine As well, define the correct configuration for this machine. Tested this with and without u-boot on CM3 (with internal storage) and CM3+ without internal storage. Signed-off-by: Andrei Gherzan --- conf/machine/raspberrypi-cm3.conf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/conf/machine/raspberrypi-cm3.conf b/conf/machine/raspberrypi-cm3.conf index 5f6d3b6..c8677b4 100644 --- a/conf/machine/raspberrypi-cm3.conf +++ b/conf/machine/raspberrypi-cm3.conf @@ -2,5 +2,11 @@ #@NAME: RaspberryPi Compute Module 3 (CM3) #@DESCRIPTION: Machine configuration for the RaspberryPi Compute Module 3 (CM3) -MACHINEOVERRIDES = "raspberrypi3:${MACHINE}" -include conf/machine/raspberrypi3.conf +DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4" +require conf/machine/include/tune-cortexa7.inc +include conf/machine/include/rpi-base.inc + +KBUILD_DEFCONFIG ?= "bcm2709_defconfig" +SDIMG_KERNELIMAGE ?= "kernel7.img" +UBOOT_MACHINE = "rpi_3_32b_config" +SERIAL_CONSOLES ?= "115200;ttyAMA0"