Use SOC_FAMILY to avoid the long list of COMPATIBLE_MACHINE

It uses 3 different SOC_FAMILY sun4i,sun5i,sun7i this list come from here http://sunxi.org/Allwinner_SoC_Family
Adding a new machine should be now more easy, as we have now to only create a new machine.conf file, set the right SOC_FAMILY and include the right arch inclue.
This commit is contained in:
Nicolas Aguirre
2015-06-16 00:20:39 +02:00
parent cb66c3eafb
commit 4240612f21
26 changed files with 75 additions and 251 deletions

View File

@@ -2,19 +2,7 @@
#@NAME: Cubietruck
#@DESCRIPTION: Machine configuration for the Cubietruck, based on allwinner A20 CPU http://cubieboard.org/
# Only has DVI connector for external screen
GUI_MACHINE_CLASS = "bigscreen"
require conf/machine/include/tune-cortexa7.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
require conf/machine/include/sun7i.inc
UBOOT_MACHINE = "Cubietruck_config"
UBOOT_ENTRYPOINT = "0x40008000"
UBOOT_LOADADDRESS = "0x40008000"
KERNEL_DEVICETREE = "sun7i-a20-cubietruck.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "screen apm usbgadget usbhost vfat"
SUNXI_FEX_FILE = "sys_config/a20/cubietruck.fex"