summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-03-22 17:14:51 -0600
committerTom Rini <trini@ti.com>2014-03-28 15:06:31 -0400
commit36c4b1d98059244c34ec3327d9cc9f3c552fd01b (patch)
treeae347c823605374695f31326aa1de02ae2f4a3a6 /common
parente0021706f64c53680bad92bbd4d6fabdfd974911 (diff)
downloadu-boot-imx-36c4b1d98059244c34ec3327d9cc9f3c552fd01b.zip
u-boot-imx-36c4b1d98059244c34ec3327d9cc9f3c552fd01b.tar.gz
u-boot-imx-36c4b1d98059244c34ec3327d9cc9f3c552fd01b.tar.bz2
Start the deprecation process for generic board
We should move forward to remove the old board init code. Add a prominent message to encourage maintainers to get started on this work. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c
index 8b6f274..e54f63b 100644
--- a/common/main.c
+++ b/common/main.c
@@ -427,6 +427,12 @@ void main_loop(void)
bootstage_mark_name(BOOTSTAGE_ID_MAIN_LOOP, "main_loop");
+#ifndef CONFIG_SYS_GENERIC_BOARD
+ puts("Warning: Your board does not use generic board. Please read\n");
+ puts("doc/README.generic-board and take action. Boards not\n");
+ puts("upgraded by the late 2014 may break or be removed.\n");
+#endif
+
#ifdef CONFIG_MODEM_SUPPORT
debug("DEBUG: main_loop: do_mdm_init=%d\n", do_mdm_init);
if (do_mdm_init) {