summaryrefslogtreecommitdiffstats
path: root/meta-nuvoton/conf/machine/include
diff options
context:
space:
mode:
authorDave Cobbley <david.j.cobbley@linux.intel.com>2018-08-14 13:30:07 -0700
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-08-22 21:26:37 -0400
commit4feb727cd6b77a68bdaca63e121b378d814f5eaf (patch)
tree871b558e24c63450a7a5c2eacda38cf21dbb21e8 /meta-nuvoton/conf/machine/include
parenteb8dc40360f0cfef56fb6947cc817a547d6d9bc6 (diff)
downloadtalos-openbmc-4feb727cd6b77a68bdaca63e121b378d814f5eaf.tar.gz
talos-openbmc-4feb727cd6b77a68bdaca63e121b378d814f5eaf.zip
[Subtree] Move board support packages to top level
The new subtree paradigm has moved the meta-bsp layers to the top level Change-Id: Ic4f64c39465be699bed3649e125e027d17daf938 Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-nuvoton/conf/machine/include')
-rw-r--r--meta-nuvoton/conf/machine/include/npcm7xx.inc22
-rw-r--r--meta-nuvoton/conf/machine/include/nuvoton.inc6
-rw-r--r--meta-nuvoton/conf/machine/include/tune-arm7a-novfp.inc11
3 files changed, 39 insertions, 0 deletions
diff --git a/meta-nuvoton/conf/machine/include/npcm7xx.inc b/meta-nuvoton/conf/machine/include/npcm7xx.inc
new file mode 100644
index 000000000..3d8847dc4
--- /dev/null
+++ b/meta-nuvoton/conf/machine/include/npcm7xx.inc
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: Nuvoton NPCM7XX
+#@DESCRIPTION: Common machine configuration for Nuvoton NPCM7XX Chip
+
+require conf/machine/include/nuvoton.inc
+
+KERNEL_IMAGETYPE ?= "uImage"
+KERNEL_EXTRA_ARGS ?= "UIMAGE_LOADADDR=0x00008000"
+
+UBOOT_MACHINE ?= "PolegSVB_config"
+UBOOT_ENTRYPOINT ?= "0x00008000"
+UBOOT_LOADADDRESS ?= "0x00008000"
+
+DEFAULTTUNE ?= "arm7a-novfp"
+
+SERIAL_CONSOLES = "115200;ttyS3"
+
+SOC_FAMILY = "npcm7xx"
+include conf/machine/include/soc-family.inc
+MACHINEOVERRIDES .= ":npcm7xx"
+
+require conf/machine/include/tune-arm7a-novfp.inc
diff --git a/meta-nuvoton/conf/machine/include/nuvoton.inc b/meta-nuvoton/conf/machine/include/nuvoton.inc
new file mode 100644
index 000000000..068fe3507
--- /dev/null
+++ b/meta-nuvoton/conf/machine/include/nuvoton.inc
@@ -0,0 +1,6 @@
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-nuvoton"
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-nuvoton"
+PREFERRED_PROVIDER_u-boot ?= "u-boot-nuvoton"
+PREFERRED_PROVIDER_u-boot-fw-utils ?= "u-boot-fw-utils-nuvoton"
+
+MACHINEOVERRIDES .= ":nuvoton"
diff --git a/meta-nuvoton/conf/machine/include/tune-arm7a-novfp.inc b/meta-nuvoton/conf/machine/include/tune-arm7a-novfp.inc
new file mode 100644
index 000000000..18730db69
--- /dev/null
+++ b/meta-nuvoton/conf/machine/include/tune-arm7a-novfp.inc
@@ -0,0 +1,11 @@
+DEFAULTTUNE ?= "arm7a-novfp"
+
+require conf/machine/include/arm/arch-armv7a.inc
+
+TUNEVALID[arm7a-novfp] = "Enable arm7a-novfp specific processor optimizations"
+
+AVAILTUNES += "arm7a-novfp"
+ARMPKGARCH_tune-arm7a-novfp = "armv7a"
+TUNE_FEATURES_tune-armv7a = "arm armv7a"
+TUNE_FEATURES_tune-arm7a-novfp = "${TUNE_FEATURES_tune-armv7a} arm7a-novfp"
+PACKAGE_EXTRA_ARCHS_tune-arm7a-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv7a}"
OpenPOWER on IntegriCloud