summaryrefslogtreecommitdiff
path: root/common/cmd_bdinfo.c
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2014-12-26 11:03:15 +0300
committerTom Rini <trini@ti.com>2015-01-05 13:48:21 -0500
commit946f6f242c1a777632e96d061bedce4ae756c43a (patch)
tree6f3f6becaa710e838c9280808b845c378393f85f /common/cmd_bdinfo.c
parent623185dbeab21541dc691e97cb153d749cd33ec6 (diff)
downloadu-boot-imx-946f6f242c1a777632e96d061bedce4ae756c43a.zip
u-boot-imx-946f6f242c1a777632e96d061bedce4ae756c43a.tar.gz
u-boot-imx-946f6f242c1a777632e96d061bedce4ae756c43a.tar.bz2
cmd_bdinfo: check for CONFIG_ARC instead of CONFIG_ARC700
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>
Diffstat (limited to 'common/cmd_bdinfo.c')
-rw-r--r--common/cmd_bdinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index f0b713c..e6d8a7a 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -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[])
{