diff options
author | Zongchun Yu <Zongchun.Yu@freescale.com> | 2013-11-28 14:30:13 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2014-02-13 11:24:51 +0800 |
commit | 5f708cb0b01ee2718bacc86e751ed06f565887f9 (patch) | |
tree | f81b80fde7e562700ee3cd15b60f82e8bf19fce7 /meta-fsl-ppc/recipes-bsp | |
parent | 2039c5c1825c3245e72a7b963f13b0ccf602c713 (diff) | |
download | meta-freescale-5f708cb0b01ee2718bacc86e751ed06f565887f9.tar.gz |
u-boot:add srio image support
Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com>
Diffstat (limited to 'meta-fsl-ppc/recipes-bsp')
-rw-r--r-- | meta-fsl-ppc/recipes-bsp/u-boot/u-boot_git.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-fsl-ppc/recipes-bsp/u-boot/u-boot_git.bb b/meta-fsl-ppc/recipes-bsp/u-boot/u-boot_git.bb index 4f1c61f3..3939ef7e 100644 --- a/meta-fsl-ppc/recipes-bsp/u-boot/u-boot_git.bb +++ b/meta-fsl-ppc/recipes-bsp/u-boot/u-boot_git.bb | |||
@@ -74,10 +74,11 @@ do_compile () { | |||
74 | *SDCARD*) UBOOT_TARGET="u-boot-sd";; | 74 | *SDCARD*) UBOOT_TARGET="u-boot-sd";; |
75 | *SPIFLASH*) UBOOT_TARGET="u-boot-spi";; | 75 | *SPIFLASH*) UBOOT_TARGET="u-boot-spi";; |
76 | *NAND*) UBOOT_TARGET="u-boot-nand";; | 76 | *NAND*) UBOOT_TARGET="u-boot-nand";; |
77 | *SRIO*) UBOOT_TARGET="u-boot-srio";; | ||
77 | *) UBOOT_TARGET="";; | 78 | *) UBOOT_TARGET="";; |
78 | esac | 79 | esac |
79 | 80 | ||
80 | # deal with sd/spi/nand image | 81 | # deal with sd/spi/nand/srio image |
81 | UBOOT_SOURCE=u-boot | 82 | UBOOT_SOURCE=u-boot |
82 | if [ "x${UBOOT_TARGET}" != "x" ]; then | 83 | if [ "x${UBOOT_TARGET}" != "x" ]; then |
83 | # some boards' nand image was named as u-boot-with-spl | 84 | # some boards' nand image was named as u-boot-with-spl |
@@ -116,6 +117,7 @@ do_install(){ | |||
116 | *SDCARD*) UBOOT_TARGET="u-boot-sd";; | 117 | *SDCARD*) UBOOT_TARGET="u-boot-sd";; |
117 | *SPIFLASH*) UBOOT_TARGET="u-boot-spi";; | 118 | *SPIFLASH*) UBOOT_TARGET="u-boot-spi";; |
118 | *NAND*) UBOOT_TARGET="u-boot-nand";; | 119 | *NAND*) UBOOT_TARGET="u-boot-nand";; |
120 | *SRIO*) UBOOT_TARGET="u-boot-srio";; | ||
119 | *) UBOOT_TARGET="u-boot";; | 121 | *) UBOOT_TARGET="u-boot";; |
120 | esac | 122 | esac |
121 | 123 | ||
@@ -137,6 +139,7 @@ do_deploy(){ | |||
137 | *SDCARD*) UBOOT_TARGET="u-boot-sd";; | 139 | *SDCARD*) UBOOT_TARGET="u-boot-sd";; |
138 | *SPIFLASH*) UBOOT_TARGET="u-boot-spi";; | 140 | *SPIFLASH*) UBOOT_TARGET="u-boot-spi";; |
139 | *NAND*) UBOOT_TARGET="u-boot-nand";; | 141 | *NAND*) UBOOT_TARGET="u-boot-nand";; |
142 | *SRIO*) UBOOT_TARGET="u-boot-srio";; | ||
140 | *) UBOOT_TARGET="u-boot";; | 143 | *) UBOOT_TARGET="u-boot";; |
141 | esac | 144 | esac |
142 | 145 | ||