diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2015-11-26 19:04:00 +1000 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2015-11-26 19:09:22 +1000 |
commit | d72fa7e585d81ce217254485c8b4b3ff78b8addb (patch) | |
tree | 46b824d5ab3388a65932efd9ee1f9873bba904fa | |
parent | c91bf97045c3f0187eff32d19840e89dd1157390 (diff) | |
download | meta-xilinx-d72fa7e585d81ce217254485c8b4b3ff78b8addb.tar.gz |
conf/machine/*-zynq7.conf: Update the configuration of SPL
Machines now only need to set SPL_BINARY to 'boot.bin' to enable the
generation of boot.bin and/or u-boot-spl binaries.
If a machine sets SPL_BINARY and does not provide any way to attain the
platform init code bitbake will fail with a dependency error.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r-- | conf/machine/microzed-zynq7.conf | 3 | ||||
-rw-r--r-- | conf/machine/picozed-zynq7.conf | 2 | ||||
-rw-r--r-- | conf/machine/zc702-zynq7.conf | 3 | ||||
-rw-r--r-- | conf/machine/zc706-zynq7.conf | 3 | ||||
-rw-r--r-- | conf/machine/zedboard-zynq7.conf | 3 | ||||
-rw-r--r-- | conf/machine/zybo-zynq7.conf | 3 |
6 files changed, 6 insertions, 11 deletions
diff --git a/conf/machine/microzed-zynq7.conf b/conf/machine/microzed-zynq7.conf index 374e7107..5182051c 100644 --- a/conf/machine/microzed-zynq7.conf +++ b/conf/machine/microzed-zynq7.conf | |||
@@ -10,6 +10,7 @@ MACHINE_FEATURES = "ext2 vfat usbhost" | |||
10 | 10 | ||
11 | # microZed machine definition known by Xilinx UBOOT | 11 | # microZed machine definition known by Xilinx UBOOT |
12 | UBOOT_MACHINE = "zynq_microzed_config" | 12 | UBOOT_MACHINE = "zynq_microzed_config" |
13 | SPL_BINARY = "boot.bin" | ||
13 | 14 | ||
14 | SERIAL_CONSOLE = "115200 ttyPS0" | 15 | SERIAL_CONSOLE = "115200 ttyPS0" |
15 | 16 | ||
@@ -20,5 +21,3 @@ MACHINE_DEVICETREE := " \ | |||
20 | 21 | ||
21 | IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb" | 22 | IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb" |
22 | 23 | ||
23 | EXTRA_IMAGEDEPENDS += "virtual/boot-bin" | ||
24 | |||
diff --git a/conf/machine/picozed-zynq7.conf b/conf/machine/picozed-zynq7.conf index 63466aee..1f45dad7 100644 --- a/conf/machine/picozed-zynq7.conf +++ b/conf/machine/picozed-zynq7.conf | |||
@@ -14,6 +14,7 @@ MACHINE_FEATURES = "ext2 vfat usbhost usbgadget" | |||
14 | 14 | ||
15 | # microZed machine definition known by Xilinx UBOOT | 15 | # microZed machine definition known by Xilinx UBOOT |
16 | UBOOT_MACHINE = "zynq_picozed_config" | 16 | UBOOT_MACHINE = "zynq_picozed_config" |
17 | SPL_BINARY = "boot.bin" | ||
17 | 18 | ||
18 | SERIAL_CONSOLE = "115200 ttyPS0" | 19 | SERIAL_CONSOLE = "115200 ttyPS0" |
19 | 20 | ||
@@ -24,4 +25,3 @@ MACHINE_DEVICETREE := " \ | |||
24 | 25 | ||
25 | IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb" | 26 | IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb" |
26 | 27 | ||
27 | EXTRA_IMAGEDEPENDS += "virtual/boot-bin" | ||
diff --git a/conf/machine/zc702-zynq7.conf b/conf/machine/zc702-zynq7.conf index eb5cbffe..1417c514 100644 --- a/conf/machine/zc702-zynq7.conf +++ b/conf/machine/zc702-zynq7.conf | |||
@@ -17,6 +17,7 @@ MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" | |||
17 | 17 | ||
18 | # ZC702 machine definition known by Xilinx UBOOT | 18 | # ZC702 machine definition known by Xilinx UBOOT |
19 | UBOOT_MACHINE = "zynq_zc702_config" | 19 | UBOOT_MACHINE = "zynq_zc702_config" |
20 | SPL_BINARY = "boot.bin" | ||
20 | 21 | ||
21 | SERIAL_CONSOLE = "115200 ttyPS0" | 22 | SERIAL_CONSOLE = "115200 ttyPS0" |
22 | 23 | ||
@@ -29,5 +30,3 @@ KERNEL_FEATURES += "features/rtc/rtc.scc" | |||
29 | 30 | ||
30 | IMAGE_BOOT_FILES += "boot.bin uEnv.txt ${MACHINE}.dtb" | 31 | IMAGE_BOOT_FILES += "boot.bin uEnv.txt ${MACHINE}.dtb" |
31 | 32 | ||
32 | EXTRA_IMAGEDEPENDS += "virtual/boot-bin" | ||
33 | |||
diff --git a/conf/machine/zc706-zynq7.conf b/conf/machine/zc706-zynq7.conf index 0e227d38..07001424 100644 --- a/conf/machine/zc706-zynq7.conf +++ b/conf/machine/zc706-zynq7.conf | |||
@@ -17,6 +17,7 @@ MACHINE_FEATURES = "rtc ext2 vfat usbhost usbgadget" | |||
17 | 17 | ||
18 | # ZC706 machine definition known by Xilinx UBOOT | 18 | # ZC706 machine definition known by Xilinx UBOOT |
19 | UBOOT_MACHINE = "zynq_zc706_config" | 19 | UBOOT_MACHINE = "zynq_zc706_config" |
20 | SPL_BINARY = "boot.bin" | ||
20 | 21 | ||
21 | SERIAL_CONSOLE = "115200 ttyPS0" | 22 | SERIAL_CONSOLE = "115200 ttyPS0" |
22 | 23 | ||
@@ -27,5 +28,3 @@ MACHINE_DEVICETREE := " \ | |||
27 | 28 | ||
28 | KERNEL_FEATURES += "features/rtc/rtc.scc" | 29 | KERNEL_FEATURES += "features/rtc/rtc.scc" |
29 | 30 | ||
30 | EXTRA_IMAGEDEPENDS += "virtual/boot-bin" | ||
31 | |||
diff --git a/conf/machine/zedboard-zynq7.conf b/conf/machine/zedboard-zynq7.conf index 00a93cad..cbf0f012 100644 --- a/conf/machine/zedboard-zynq7.conf +++ b/conf/machine/zedboard-zynq7.conf | |||
@@ -14,6 +14,7 @@ require conf/machine/include/machine-xilinx-board.inc | |||
14 | 14 | ||
15 | # Zedboard machine definition known by Xilinx UBOOT | 15 | # Zedboard machine definition known by Xilinx UBOOT |
16 | UBOOT_MACHINE = "zynq_zed_config" | 16 | UBOOT_MACHINE = "zynq_zed_config" |
17 | SPL_BINARY = "boot.bin" | ||
17 | 18 | ||
18 | SERIAL_CONSOLE = "115200 ttyPS0" | 19 | SERIAL_CONSOLE = "115200 ttyPS0" |
19 | 20 | ||
@@ -24,5 +25,3 @@ MACHINE_DEVICETREE := " \ | |||
24 | 25 | ||
25 | IMAGE_BOOT_FILES += "boot.bin uEnv.txt ${MACHINE}.dtb" | 26 | IMAGE_BOOT_FILES += "boot.bin uEnv.txt ${MACHINE}.dtb" |
26 | 27 | ||
27 | EXTRA_IMAGEDEPENDS += "virtual/boot-bin" | ||
28 | |||
diff --git a/conf/machine/zybo-zynq7.conf b/conf/machine/zybo-zynq7.conf index b1be2a03..4ec12aab 100644 --- a/conf/machine/zybo-zynq7.conf +++ b/conf/machine/zybo-zynq7.conf | |||
@@ -13,6 +13,7 @@ require conf/machine/include/machine-xilinx-board.inc | |||
13 | MACHINE_FEATURES = "ext2 vfat usbhost usbgadget" | 13 | MACHINE_FEATURES = "ext2 vfat usbhost usbgadget" |
14 | 14 | ||
15 | UBOOT_MACHINE = "zynq_zybo_config" | 15 | UBOOT_MACHINE = "zynq_zybo_config" |
16 | SPL_BINARY = "boot.bin" | ||
16 | 17 | ||
17 | SERIAL_CONSOLE = "115200 ttyPS0" | 18 | SERIAL_CONSOLE = "115200 ttyPS0" |
18 | 19 | ||
@@ -23,5 +24,3 @@ MACHINE_DEVICETREE := " \ | |||
23 | 24 | ||
24 | IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb" | 25 | IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb" |
25 | 26 | ||
26 | EXTRA_IMAGEDEPENDS += "virtual/boot-bin" | ||
27 | |||