Patchwork [meta-fsl-ppc,dylan,03/15] u-boot:add srio image support

login
register
mail settings
Submitter Zongchun Yu
Date Jan. 24, 2014, 9:47 a.m.
Message ID <1390556821-24412-1-git-send-email-b40527@freescale.com>
Download mbox | patch
Permalink /patch/65725/
State Accepted
Delegated to: Zhenhua Luo
Headers show

Comments

Zongchun Yu - Jan. 24, 2014, 9:47 a.m.
From: Zongchun Yu <Zongchun.Yu@freescale.com>

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

Patch

diff --git a/recipes-bsp/u-boot/u-boot_git.bb b/recipes-bsp/u-boot/u-boot_git.bb
index 67bd1d5..675e93e 100644
--- a/recipes-bsp/u-boot/u-boot_git.bb
+++ b/recipes-bsp/u-boot/u-boot_git.bb
@@ -73,10 +73,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
@@ -115,6 +116,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
 
@@ -136,6 +138,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