diff options
author | Simon Glass <sjg@chromium.org> | 2012-01-14 15:24:44 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-03-18 20:43:38 +0100 |
commit | 097e17836d9e8d3f5abb5987f8ac706168d1c2ec (patch) | |
tree | 1e3573b3845c321658e77b12ae8d5d7e2c2e0202 /include/common.h | |
parent | 6eee21daf3d1cabad8a4dfaf6641d8845ee7578a (diff) | |
download | u-boot-imx-097e17836d9e8d3f5abb5987f8ac706168d1c2ec.zip u-boot-imx-097e17836d9e8d3f5abb5987f8ac706168d1c2ec.tar.gz u-boot-imx-097e17836d9e8d3f5abb5987f8ac706168d1c2ec.tar.bz2 |
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.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/common.h b/include/common.h index 0bda049..399363a 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 |