summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/conf
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@us.ibm.com>2015-10-06 01:53:40 -0400
committerBrad Bishop <bradleyb@us.ibm.com>2015-10-06 01:53:40 -0400
commit3d7ad8148df537994c5e32546c702c8d9ccf1f12 (patch)
treea6dc5872ae2d24094be1b24901adf6627bbac252 /meta-phosphor/conf
parent5fa83b34ee519221592fae7831ff59f248977dac (diff)
downloadtalos-openbmc-3d7ad8148df537994c5e32546c702c8d9ccf1f12.tar.gz
talos-openbmc-3d7ad8148df537994c5e32546c702c8d9ccf1f12.zip
Move Palmetto specific metadata to Palmetto layer
Diffstat (limited to 'meta-phosphor/conf')
-rw-r--r--meta-phosphor/conf/machine/include/obmc-bsp-common.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
new file mode 100644
index 000000000..ca652854b
--- /dev/null
+++ b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
@@ -0,0 +1,15 @@
+#@TYPE: Machine
+#@NAME: OpenBMC
+#@DESCRIPTION: Common machine configuration for OpenBMC chips
+
+MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
+EXTRA_IMAGEDEPENDS += "u-boot"
+
+KERNEL_CLASSES ?= "kernel-uimage kernel-cuimage"
+KERNEL_IMAGETYPE ?= "cuImage"
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
+
+UBOOT_SUFFIX ?= "bin"
+IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX}"
+
+MACHINEOVERRIDES =. "openbmc:"
OpenPOWER on IntegriCloud