Introducing meta-aspeed

OE BSP layer supporting Aspeed SOCs for Phosphor.
diff --git a/meta-ast2400/conf/layer.conf b/meta-ast2400/conf/layer.conf
new file mode 100644
index 0000000..ce5a49b
--- /dev/null
+++ b/meta-ast2400/conf/layer.conf
@@ -0,0 +1,9 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have a recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+	${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "ast2400"
+BBFILE_PATTERN_ast2400 = ""
diff --git a/meta-ast2400/conf/machine/include/ast2400.inc b/meta-ast2400/conf/machine/include/ast2400.inc
new file mode 100644
index 0000000..492b473
--- /dev/null
+++ b/meta-ast2400/conf/machine/include/ast2400.inc
@@ -0,0 +1,12 @@
+#@TYPE: Machine
+#@NAME: Aspeed AST2400
+#@DESCRIPTION: Common machine configuration for the Aspeed AST2400 Chip
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-obmc"
+KERNEL_CONFIG_COMMAND ?= "oe_runmake aspeed_defconfig"
+
+UBOOT_MACHINE ?= "versatileab_config"
+UBOOT_ENTRYPOINT ?= "0x40001000"
+UBOOT_LOADADDRESS ?= "0x40001000"
+
+require conf/machine/include/tune-arm926ejs.inc
diff --git a/meta-ast2400/recipes-kernel/linux/linux-obmc.bbappend b/meta-ast2400/recipes-kernel/linux/linux-obmc.bbappend
new file mode 100644
index 0000000..065b1c4
--- /dev/null
+++ b/meta-ast2400/recipes-kernel/linux/linux-obmc.bbappend
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += "file://0000-config.patch"
diff --git a/meta-ast2400/recipes-kernel/linux/linux-obmc/0000-config.patch b/meta-ast2400/recipes-kernel/linux/linux-obmc/0000-config.patch
new file mode 100644
index 0000000..04611ee
--- /dev/null
+++ b/meta-ast2400/recipes-kernel/linux/linux-obmc/0000-config.patch
@@ -0,0 +1,17 @@
+--- a/arch/arm/configs/aspeed_defconfig
++++ b/arch/arm/configs/aspeed_defconfig
+@@ -1,12 +1,12 @@
+ CONFIG_CROSS_COMPILE="arm-linux-"
+-CONFIG_LOCALVERSION="-joel"
++# CONFIG_LOCALVERSION is not set
+ CONFIG_KERNEL_XZ=y
+ # CONFIG_SWAP is not set
+ CONFIG_SYSVIPC=y
+ CONFIG_IRQ_DOMAIN_DEBUG=y
+ CONFIG_LOG_BUF_SHIFT=14
+ CONFIG_BLK_DEV_INITRD=y
+-CONFIG_INITRAMFS_SOURCE="~/ibm/openbmc/buildroot-arm-rootfs.cpio.gz"
++# CONFIG_INITRAMFS_SOURCE is not set
+ CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+ CONFIG_KALLSYMS_ALL=y
+ CONFIG_EMBEDDED=y
diff --git a/meta-ast2400/recipes.txt b/meta-ast2400/recipes.txt
new file mode 100644
index 0000000..db84c6f
--- /dev/null
+++ b/meta-ast2400/recipes.txt
@@ -0,0 +1 @@
+recipes-kernel       - The kernel and generic applications/libraries with strong kernel dependencies