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

@@ -3,14 +3,7 @@
#@DESCRIPTION: Machine configuration for the Olimex A20-SOM Evaluation Board, based on Allwinner A20 CPU
#https://github.com/OLIMEX/SOM
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 = "Olimex_A20-SOM_config"
UBOOT_ENTRYPOINT = "0x40008000"
UBOOT_LOADADDRESS = "0x40008000"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
SUNXI_FEX_FILE = "sys_config/a20/olimex_a20_som.fex"