Skip to content
Snippets Groups Projects
Commit 946f6f24 authored by Alexey Brodkin's avatar Alexey Brodkin Committed by Tom Rini
Browse files

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: default avatarAlexey Brodkin <abrodkin@synopsys.com>
Cc: Tom Rini <trini@ti.com>
parent 623185db
No related branches found
No related tags found
No related merge requests found
...@@ -515,7 +515,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) ...@@ -515,7 +515,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
return 0; return 0;
} }
#elif defined(CONFIG_ARC700) #elif defined(CONFIG_ARC)
int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment