summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-bsp/meta-aspeed/meta-ast2500/conf
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2016-06-04 00:55:57 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2016-06-10 12:06:34 -0400
commit734d937284326068cf46aa0c493dffdb254c15ca (patch)
treeba46dace68f3cd6db7b27df717fadbf8ba2dc3f0 /meta-openbmc-bsp/meta-aspeed/meta-ast2500/conf
parent2a223b48ee11cda6cd59a6bb0ec239b902d6367b (diff)
downloadtalos-openbmc-734d937284326068cf46aa0c493dffdb254c15ca.tar.gz
talos-openbmc-734d937284326068cf46aa0c493dffdb254c15ca.zip
AST2500: Initial AST2500 BSP layer
The AST2500 is an ARM SOC made by Aspeed. This is only a stub; there are a couple missing bits of support from the kernel/uboot. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openbmc-bsp/meta-aspeed/meta-ast2500/conf')
-rw-r--r--meta-openbmc-bsp/meta-aspeed/meta-ast2500/conf/layer.conf10
-rw-r--r--meta-openbmc-bsp/meta-aspeed/meta-ast2500/conf/machine/include/ast2500.inc15
2 files changed, 25 insertions, 0 deletions
diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2500/conf/layer.conf b/meta-openbmc-bsp/meta-aspeed/meta-ast2500/conf/layer.conf
new file mode 100644
index 000000000..ad1858a11
--- /dev/null
+++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2500/conf/layer.conf
@@ -0,0 +1,10 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_PATTERN_ast2500 = "^${LAYERDIR}/"
+BBFILE_COLLECTIONS += "ast2500"
+LAYERVERSION_ast2500 = "1"
diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2500/conf/machine/include/ast2500.inc b/meta-openbmc-bsp/meta-aspeed/meta-ast2500/conf/machine/include/ast2500.inc
new file mode 100644
index 000000000..3f016e49a
--- /dev/null
+++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2500/conf/machine/include/ast2500.inc
@@ -0,0 +1,15 @@
+#@TYPE: Machine
+#@NAME: Aspeed AST2500
+#@DESCRIPTION: Common machine configuration for the Aspeed AST2500 Chip
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-obmc"
+
+UBOOT_MACHINE ?= "ast_g5_config"
+UBOOT_ENTRYPOINT ?= "0x80001000"
+UBOOT_LOADADDRESS ?= "0x80001000"
+
+INITRD_IMAGE_ENTRYPOINT = "0x81000000"
+INITRD_IMAGE_LOADADDRESS = "0x81000000"
+
+DEFAULTTUNE = "armv6-novfp"
+require conf/machine/include/arm/arch-armv6.inc
OpenPOWER on IntegriCloud