[meta-freescale] [meta-fsl-ppc][PATCH 03/15] u-boot:add srio image support

b40527 at freescale.com b40527 at freescale.com
Thu Jan 23 19:37:32 PST 2014


From: Zongchun Yu <Zongchun.Yu at freescale.com>

Signed-off-by: Zongchun Yu <Zongchun.Yu at freescale.com>
---
 recipes-bsp/u-boot/u-boot_git.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes-bsp/u-boot/u-boot_git.bb b/recipes-bsp/u-boot/u-boot_git.bb
index 4f1c61f..3939ef7 100644
--- a/recipes-bsp/u-boot/u-boot_git.bb
+++ b/recipes-bsp/u-boot/u-boot_git.bb
@@ -74,10 +74,11 @@ do_compile () {
             *SDCARD*)   UBOOT_TARGET="u-boot-sd";;
             *SPIFLASH*) UBOOT_TARGET="u-boot-spi";;
             *NAND*)     UBOOT_TARGET="u-boot-nand";;
+            *SRIO*)     UBOOT_TARGET="u-boot-srio";;
             *)      UBOOT_TARGET="";;
         esac
 
-        # deal with sd/spi/nand image
+        # deal with sd/spi/nand/srio image
         UBOOT_SOURCE=u-boot
         if [ "x${UBOOT_TARGET}" != "x" ]; then
             # some boards' nand image was named as u-boot-with-spl
@@ -116,6 +117,7 @@ do_install(){
             *SDCARD*)   UBOOT_TARGET="u-boot-sd";;
             *SPIFLASH*) UBOOT_TARGET="u-boot-spi";;
             *NAND*)     UBOOT_TARGET="u-boot-nand";;
+            *SRIO*)     UBOOT_TARGET="u-boot-srio";;
             *)      UBOOT_TARGET="u-boot";;
         esac
 
@@ -137,6 +139,7 @@ do_deploy(){
             *SDCARD*)   UBOOT_TARGET="u-boot-sd";;
             *SPIFLASH*) UBOOT_TARGET="u-boot-spi";;
             *NAND*)     UBOOT_TARGET="u-boot-nand";;
+            *SRIO*)     UBOOT_TARGET="u-boot-srio";;
             *)      UBOOT_TARGET="u-boot";;
         esac
 
-- 
1.7.0.4




More information about the meta-freescale mailing list