summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/bdinfo.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index dba552b03f..83fea50ac1 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -476,14 +476,20 @@ int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
#elif defined(CONFIG_XTENSA)
+#define USE_GENERIC
+
+#else
+ #error "a case for this architecture does not exist!"
+#endif
+
+/* Temporary check for archs that use generic bdinfo. Eventually all will */
+#ifdef USE_GENERIC
int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
print_std_bdinfo(gd->bd);
+
return 0;
}
-
-#else
- #error "a case for this architecture does not exist!"
#endif
/* -------------------------------------------------------------------- */