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: CubieBoard
#@DESCRIPTION: Machine configuration for the cubieboard, based on allwinner a10 CPU http://cubieboard.org/
# Only has DVI connector for external screen
GUI_MACHINE_CLASS = "bigscreen"
require conf/machine/include/tune-cortexa8.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
require conf/machine/include/sun4i.inc
UBOOT_MACHINE = "Cubieboard_config"
UBOOT_ENTRYPOINT = "0x40008000"
UBOOT_LOADADDRESS = "0x40008000"
KERNEL_DEVICETREE = "sun4i-a10-cubieboard.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
SUNXI_FEX_FILE = "sys_config/a10/cubieboard.fex"