aboutsummaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-01-14 15:24:44 +0000
committerWolfgang Denk <wd@denx.de>2012-03-18 20:43:38 +0100
commit097e17836d9e8d3f5abb5987f8ac706168d1c2ec (patch)
tree1e3573b3845c321658e77b12ae8d5d7e2c2e0202 /include/common.h
parent6eee21daf3d1cabad8a4dfaf6641d8845ee7578a (diff)
bootstage: Create an initial header for boot progress integers
At present boot_stage_progress() is called with various magic numbers. The new bootstage.h header will be used to turn these into symbolic names throughout the code. The intent is not that these numbers are passed to Linux. In fact by using an enum to track them we should eventually be able to remove the explict numbers and just have the stages count up from 0. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/common.h b/include/common.h
index 0bda04981..399363af1 100644
--- a/include/common.h
+++ b/include/common.h
@@ -798,10 +798,8 @@ int pcmcia_init (void);
#ifdef CONFIG_STATUS_LED
# include <status_led.h>
#endif
-/*
- * Board-specific Platform code can reimplement show_boot_progress () if needed
- */
-void show_boot_progress(int val);
+
+#include <bootstage.h>
/* Multicore arch functions */
#ifdef CONFIG_MP