am33x-cm3: add firmware for am33x suspend/resume
authorKoen Kooi <koen@dominion.thruhere.net>
Tue, 17 Apr 2012 12:47:43 +0000 (14:47 +0200)
committerDenys Dmytriyenko <denys@ti.com>
Wed, 18 Apr 2012 16:19:55 +0000 (12:19 -0400)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
recipes-bsp/ti/am33x-cm3_git.bb [new file with mode: 0644]

diff --git a/recipes-bsp/ti/am33x-cm3_git.bb b/recipes-bsp/ti/am33x-cm3_git.bb
new file mode 100644 (file)
index 0000000..247ba4d
--- /dev/null
@@ -0,0 +1,23 @@
+DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
+
+LICENSE = "TI-BSD"
+LIC_FILES_CHKSUM = "file://License.txt;md5=858099c817e47ea63559fc6b67ae8d91"
+
+PV = "04.06.00.07"
+SRCREV = "cf07b841d6e8c5e026eecb259d143f3dff412c8e"
+
+SRC_URI = "git://arago-project.org/git/projects/am33x-cm3.git"
+
+S = "${WORKDIR}/git"
+
+do_compile() {
+       make CC="${TARGET_CC}" CROSS_COMPILE="${TARGET_PREFIX}"
+}
+
+do_install() {
+       install -d ${D}${base_libdir}/firmware
+       install -m 0644 bin/am335x-pm-firmware.bin ${D}${base_libdir}/firmware/
+}
+
+FILES_${PN} = "${base_libdir}/firmware"
+