diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-02-21 01:27:11 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-03-19 12:21:40 +0100 |
commit | ee36cf25b5d8db7031caec91cb1e2babef509bac (patch) | |
tree | 7594b2826d2b12f526295e66e365f1b782f317cb | |
parent | 8e7f17e658616cd83d5bddb1f59f10d9d889b094 (diff) | |
download | barebox-ee36cf25b5d8db7031caec91cb1e2babef509bac.tar.gz barebox-ee36cf25b5d8db7031caec91cb1e2babef509bac.tar.xz |
remove SHOW_BOOT_PROGRESS
Though useful it is currently unsued and broken. Should be reimplemented
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/lib/armlinux.c | 10 | ||||
-rw-r--r-- | arch/ppc/lib/board.c | 13 | ||||
-rw-r--r-- | arch/ppc/lib/ppclinux.c | 1 | ||||
-rw-r--r-- | commands/bootm.c | 7 |
4 files changed, 0 insertions, 31 deletions
diff --git a/arch/arm/lib/armlinux.c b/arch/arm/lib/armlinux.c index ce86ff859a..a6d4502929 100644 --- a/arch/arm/lib/armlinux.c +++ b/arch/arm/lib/armlinux.c @@ -99,16 +99,6 @@ void __setup_serial_tag(struct tag **tmp); #define setup_serial_tag(a) do {} while(0) #endif - - - -#ifdef CONFIG_SHOW_BOOT_PROGRESS -# include <status_led.h> -# define SHOW_BOOT_PROGRESS(arg) show_boot_progress(arg) -#else -# define SHOW_BOOT_PROGRESS(arg) -#endif - static int armlinux_architecture = 0; static void *armlinux_bootparams = NULL; diff --git a/arch/ppc/lib/board.c b/arch/ppc/lib/board.c index bd82a73f51..bd701a8f1f 100644 --- a/arch/ppc/lib/board.c +++ b/arch/ppc/lib/board.c @@ -32,19 +32,6 @@ #include <reloc.h> #include <asm-generic/memory_layout.h> -char *strmhz (char *buf, long hz) -{ - long l, n; - long m; - - n = hz / 1000000L; - l = sprintf (buf, "%ld", n); - m = (hz % 1000000L) / 1000L; - if (m != 0) - sprintf (buf + l, ".%03ld", m); - return (buf); -} - /************************************************************************ * * This is the next part if the initialization sequence: we are now diff --git a/arch/ppc/lib/ppclinux.c b/arch/ppc/lib/ppclinux.c index 7c944a3ea0..6fe0141fb7 100644 --- a/arch/ppc/lib/ppclinux.c +++ b/arch/ppc/lib/ppclinux.c @@ -16,7 +16,6 @@ #include <ft_build.h> #endif extern bd_t *bd; -#define SHOW_BOOT_PROGRESS(x) static int do_bootm_linux(struct image_data *idata) { diff --git a/commands/bootm.c b/commands/bootm.c index 733702321d..d6d9609cd7 100644 --- a/commands/bootm.c +++ b/commands/bootm.c @@ -44,13 +44,6 @@ #include <init.h> #include <asm-generic/memory_layout.h> -#ifdef CONFIG_SHOW_BOOT_PROGRESS -# include <status_led.h> -# define SHOW_BOOT_PROGRESS(arg) show_boot_progress(arg) -#else -# define SHOW_BOOT_PROGRESS(arg) -#endif - /* * Continue booting an OS image; caller already has: * - copied image header to global variable `header' |