]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot:add srio image support
authorZongchun Yu <Zongchun.Yu@freescale.com>
Thu, 28 Nov 2013 06:30:13 +0000 (14:30 +0800)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Thu, 13 Feb 2014 03:24:51 +0000 (11:24 +0800)
Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com>
meta-fsl-ppc/recipes-bsp/u-boot/u-boot_git.bb

index 4f1c61f3df53cc042e6f3bc7424e3936caac6914..3939ef7eedfd193a975c509f83729292d49beb68 100644 (file)
@@ -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