summaryrefslogtreecommitdiffstats
path: root/meta-zedboard
diff options
context:
space:
mode:
authorSipke Vriend <sipke.vriend@xilinx.com>2013-04-22 14:22:40 +1000
committerSipke Vriend <sipke.vriend@xilinx.com>2013-04-22 14:22:40 +1000
commit98a8298372a29ad4d06e17333d9896c3f119a3e7 (patch)
treed2e9c7debefce46b41f6cf13eb5a3f8c1196846b /meta-zedboard
parent70d2e350502a6fa776883f78cdd87c5771189285 (diff)
downloadmeta-xilinx-98a8298372a29ad4d06e17333d9896c3f119a3e7.tar.gz
Refactor zedboard machine. Move commone items into tune-zynq include file.
Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
Diffstat (limited to 'meta-zedboard')
-rw-r--r--meta-zedboard/conf/machine/zedboard.conf16
-rw-r--r--meta-zedboard/recipes-kernel/linux/linux-xlnx.inc2
2 files changed, 5 insertions, 13 deletions
diff --git a/meta-zedboard/conf/machine/zedboard.conf b/meta-zedboard/conf/machine/zedboard.conf
index 9f044605..301b055f 100644
--- a/meta-zedboard/conf/machine/zedboard.conf
+++ b/meta-zedboard/conf/machine/zedboard.conf
@@ -3,21 +3,13 @@
3#@DESCRIPTION: Machine support for zedboard. 3#@DESCRIPTION: Machine support for zedboard.
4# http://www.zedboard.org/ 4# http://www.zedboard.org/
5 5
6MACHINE_FEATURES := "" 6# Versions corresponding to zedboard documentation
7
8require conf/machine/include/tune-cortexa9.inc
9
10# Consolidate these to common include?
11PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx"
12PREFERRED_VERSION_linux-xlnx ?= "3.6%" 7PREFERRED_VERSION_linux-xlnx ?= "3.6%"
8PREFERRED_VERSION_u-boot-xlnx ?= "v2012.10%"
13 9
14KERNEL_IMAGETYPE = "uImage" 10require conf/machine/include/tune-zynq.inc
15
16IMAGE_FSTYPES = "cpio ext2"
17
18PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx"
19 11
20PREFERRED_VERSION_u-boot-xlnx ?= "v2012.10%" 12# Zedboard machine definition known by Xilinx UBOOT
21UBOOT_MACHINE = "zynq_zed_config" 13UBOOT_MACHINE = "zynq_zed_config"
22 14
23SERIAL_CONSOLE = "115200 ttyPS0" 15SERIAL_CONSOLE = "115200 ttyPS0"
diff --git a/meta-zedboard/recipes-kernel/linux/linux-xlnx.inc b/meta-zedboard/recipes-kernel/linux/linux-xlnx.inc
index cf5d53be..5ecc153f 100644
--- a/meta-zedboard/recipes-kernel/linux/linux-xlnx.inc
+++ b/meta-zedboard/recipes-kernel/linux/linux-xlnx.inc
@@ -5,6 +5,6 @@
5#SRC_URI_append_zedboard += "file://zedboard.dts" 5#SRC_URI_append_zedboard += "file://zedboard.dts"
6#KERNEL_DEVICETREE_zedboard = "${WORKDIR}/zedboard.dts" 6#KERNEL_DEVICETREE_zedboard = "${WORKDIR}/zedboard.dts"
7 7
8KERNEL_DEVICETREE_zedboard = "${S}/arch/arm/boot/dts/zedboard.dts" 8KERNEL_DEVICETREE_zedboard = "${S}/arch/arm/boot/dts/zynq-zed.dts"
9 9
10COMPATIBLE_MACHINE_zedboard = "zedboard" 10COMPATIBLE_MACHINE_zedboard = "zedboard"