summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-07-11 16:31:47 +0900
committerTom Rini <trini@ti.com>2014-07-14 10:55:58 -0400
commit75e6cd2799f0d6bf994a1154107cb950b232aa59 (patch)
treeaa9f5255b1a2d43b716d50848bd25617aa165d72
parent5b0421e67cc688766cc81829ffcede4ef0de36b0 (diff)
downloadu-boot-imx-75e6cd2799f0d6bf994a1154107cb950b232aa59.zip
u-boot-imx-75e6cd2799f0d6bf994a1154107cb950b232aa59.tar.gz
u-boot-imx-75e6cd2799f0d6bf994a1154107cb950b232aa59.tar.bz2
boards.cfg: change "<none>" in the board field to "-"
In the previous commit, all the board fields were filled. Now we can use "-" in the board field for a different meaning. Going forward, "-" stands for no board directory as in cpu, soc, vendor fields. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
-rw-r--r--boards.cfg4
-rwxr-xr-xmkconfig8
2 files changed, 3 insertions, 9 deletions
diff --git a/boards.cfg b/boards.cfg
index b3995f5..1ba2081 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -49,8 +49,8 @@ Active aarch64 armv8 fsl-lsch3 freescale ls2085a
Active aarch64 armv8 fsl-lsch3 freescale ls2085a ls2085a_emu_D4 ls2085a_emu:ARM64,EMU,SYS_FSL_DDR4 York Sun <yorksun@freescale.com>
Active aarch64 armv8 fsl-lsch3 freescale ls2085a ls2085a_simu ls2085a_simu:ARM64,SIMU York Sun <yorksun@freescale.com>
Active arc arc700 - abilis tb100 tb100 - Alexey Brodkin <abrodkin@synopsys.com>
-Active arc arc700 - synopsys <none> arcangel4 - Alexey Brodkin <abrodkin@synopsys.com>
-Active arc arc700 - synopsys <none> arcangel4-be - Alexey Brodkin <abrodkin@synopsys.com>
+Active arc arc700 - synopsys - arcangel4 - Alexey Brodkin <abrodkin@synopsys.com>
+Active arc arc700 - synopsys - arcangel4-be - Alexey Brodkin <abrodkin@synopsys.com>
Active arc arc700 - synopsys axs101 axs101 - Alexey Brodkin <abrodkin@synopsys.com>
Active arm arm1136 - armltd integrator integratorcp_cm1136 integratorcp:CM1136 Linus Walleij <linus.walleij@linaro.org>
Active arm arm1136 mx31 - imx31_phycore imx31_phycore - -
diff --git a/mkconfig b/mkconfig
index 401f262..84f5a77 100755
--- a/mkconfig
+++ b/mkconfig
@@ -60,13 +60,7 @@ if [ "$cpu" = "-" ] ; then
cpu=
fi
-if [ "$6" = "<none>" ] ; then
- board=
-elif [ "$6" = "-" ] ; then
- board=${BOARD_NAME}
-else
- board="$6"
-fi
+[ "$6" != "-" ] && board="$6"
[ "$5" != "-" ] && vendor="$5"
[ "$4" != "-" ] && soc="$4"
[ $# -gt 7 ] && [ "$8" != "-" ] && {