]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
cmd_bdinfo: check for CONFIG_ARC instead of CONFIG_ARC700
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Fri, 26 Dec 2014 08:03:15 +0000 (11:03 +0300)
committerTom Rini <trini@ti.com>
Mon, 5 Jan 2015 18:48:21 +0000 (13:48 -0500)
For all flavours of ARC we execute the same code in "bdinfo" so we may
safely check for CONFIG_ARC. This is especially important since we're
about to add more types of ARC so existing check won't work in all
cases.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Tom Rini <trini@ti.com>
common/cmd_bdinfo.c

index f0b713c1cfd4341bda4e6846337539aab4e920e1..e6d8a7ae2c50715daa03af64934f21d23d4635a7 100644 (file)
@@ -515,7 +515,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        return 0;
 }
 
-#elif defined(CONFIG_ARC700)
+#elif defined(CONFIG_ARC)
 
 int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {