u-boot-xilinx: uboot for xilinx virtex4 virtex5 targets
authorAdrian Alonso <aalonso00@gmail.com>
Tue, 3 Aug 2010 06:23:18 +0000 (06:23 +0000)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Wed, 4 Aug 2010 17:47:03 +0000 (19:47 +0200)
* u-boot for xilinx platforms virtex4, virtex5 based
* Inherits xilinx-bsp.bbclass for passing xparameters
  header file from hardware reference design project
  to match hardware/software model
* v2 reorder patch set

Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/u-boot/u-boot-xilinx_git.bb [new file with mode: 0644]

diff --git a/recipes/u-boot/u-boot-xilinx_git.bb b/recipes/u-boot/u-boot-xilinx_git.bb
new file mode 100644 (file)
index 0000000..57677fb
--- /dev/null
@@ -0,0 +1,17 @@
+require u-boot.inc
+PR = "r0"
+
+# Prefered u-boot from mainstream since has generic support for
+# ppc405, ppc440 and microblaze
+# SRC_URI = "git://git.denx.de/u-boot.git;protocol=git"
+# SRCREV = "8bd9dbdfa3a19f322810e2ad9e6d6551602d8afe"
+SRC_URI = "git://git.xilinx.com/u-boot-xlnx.git;protocol=git"
+SRCREV = "26e999650cf77c16f33c580abaadab2532f5e8b2"
+
+inherit xilinx-bsp
+
+TARGET_BOARD = "${@map_target(bb.data.getVar('TARGET_ARCH', d, 1), d)}"
+UBOOT_TARGET = "${@uboot_target(bb.data.getVar('TARGET_ARCH', d, 1), d)}"
+export UBOOT_MACHINE = "${@uboot_machine(bb.data.getVar('TARGET_ARCH', d, 1), d)}"
+
+S = "${WORKDIR}/git"