summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorZongchun Yu <Zongchun.Yu@freescale.com>2013-11-28 14:30:13 +0800
committerZhenhua Luo <zhenhua.luo@freescale.com>2014-02-13 13:32:31 +0800
commit691df7304d63f508926d572cb21659e818840a70 (patch)
treecf2f5fceb2fa5b00dc2d90e37dbd0a21512fde66 /recipes-bsp
parent819b0ee301f524664b27c8cc8f38ac4e78065ff8 (diff)
downloadmeta-fsl-ppc-691df7304d63f508926d572cb21659e818840a70.tar.gz
u-boot:add srio image support
Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/u-boot/u-boot_git.bb5
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 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 () {
73 *SDCARD*) UBOOT_TARGET="u-boot-sd";; 73 *SDCARD*) UBOOT_TARGET="u-boot-sd";;
74 *SPIFLASH*) UBOOT_TARGET="u-boot-spi";; 74 *SPIFLASH*) UBOOT_TARGET="u-boot-spi";;
75 *NAND*) UBOOT_TARGET="u-boot-nand";; 75 *NAND*) UBOOT_TARGET="u-boot-nand";;
76 *SRIO*) UBOOT_TARGET="u-boot-srio";;
76 *) UBOOT_TARGET="";; 77 *) UBOOT_TARGET="";;
77 esac 78 esac
78 79
79 # deal with sd/spi/nand image 80 # deal with sd/spi/nand/srio image
80 UBOOT_SOURCE=u-boot 81 UBOOT_SOURCE=u-boot
81 if [ "x${UBOOT_TARGET}" != "x" ]; then 82 if [ "x${UBOOT_TARGET}" != "x" ]; then
82 # some boards' nand image was named as u-boot-with-spl 83 # some boards' nand image was named as u-boot-with-spl
@@ -115,6 +116,7 @@ do_install(){
115 *SDCARD*) UBOOT_TARGET="u-boot-sd";; 116 *SDCARD*) UBOOT_TARGET="u-boot-sd";;
116 *SPIFLASH*) UBOOT_TARGET="u-boot-spi";; 117 *SPIFLASH*) UBOOT_TARGET="u-boot-spi";;
117 *NAND*) UBOOT_TARGET="u-boot-nand";; 118 *NAND*) UBOOT_TARGET="u-boot-nand";;
119 *SRIO*) UBOOT_TARGET="u-boot-srio";;
118 *) UBOOT_TARGET="u-boot";; 120 *) UBOOT_TARGET="u-boot";;
119 esac 121 esac
120 122
@@ -136,6 +138,7 @@ do_deploy(){
136 *SDCARD*) UBOOT_TARGET="u-boot-sd";; 138 *SDCARD*) UBOOT_TARGET="u-boot-sd";;
137 *SPIFLASH*) UBOOT_TARGET="u-boot-spi";; 139 *SPIFLASH*) UBOOT_TARGET="u-boot-spi";;
138 *NAND*) UBOOT_TARGET="u-boot-nand";; 140 *NAND*) UBOOT_TARGET="u-boot-nand";;
141 *SRIO*) UBOOT_TARGET="u-boot-srio";;
139 *) UBOOT_TARGET="u-boot";; 142 *) UBOOT_TARGET="u-boot";;
140 esac 143 esac
141 144