summaryrefslogtreecommitdiffstats
path: root/common/main.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-03-22 17:14:51 -0600
committerTom Rini <trini@ti.com>2014-04-17 14:33:05 -0400
commit0f605c1501f6e82553e9affc6e17876a85db408c (patch)
tree503603c9fe851b03ad63c31019a606121ec36d8d /common/main.c
parentdda0dbfc69f3d560c87f5be85f127ed862ea6721 (diff)
downloadblackbird-obmc-uboot-0f605c1501f6e82553e9affc6e17876a85db408c.tar.gz
blackbird-obmc-uboot-0f605c1501f6e82553e9affc6e17876a85db408c.zip
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/main.c')
-rw-r--r--common/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c
index 8b6f274fa2..e54f63b956 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) {
OpenPOWER on IntegriCloud