From: Alexey Brodkin Date: Fri, 26 Dec 2014 08:03:15 +0000 (+0300) Subject: cmd_bdinfo: check for CONFIG_ARC instead of CONFIG_ARC700 X-Git-Tag: KARO-TXA5-2015-06-26~93 X-Git-Url: https://git.kernelconcepts.de/?a=commitdiff_plain;h=946f6f242c1a777632e96d061bedce4ae756c43a;p=karo-tx-uboot.git 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 Cc: Tom Rini --- diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index f0b713c1cf..e6d8a7ae2c 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[]) {