diff --git a/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c b/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c index e58bbf07ef15129979087173a757b3826364bbd6..0eac10d911373408c21c7d013dde13ff7bdd12d0 100644 --- a/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c +++ b/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c @@ -8,6 +8,7 @@ #include <linux/io.h> #include <miiphy.h> #include <netdev.h> +#include <status_led.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> #include <asm/arch/mpp.h> diff --git a/board/atmel/at91sam9261ek/led.c b/board/atmel/at91sam9261ek/led.c index 81967864cf4de5adb309571cc2723e289d30712c..a1aab98d587096abd5c895cabab9f1a8ef0ed97f 100644 --- a/board/atmel/at91sam9261ek/led.c +++ b/board/atmel/at91sam9261ek/led.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <status_led.h> #include <asm/arch/at91sam9261.h> #include <asm/arch/gpio.h> #include <asm/arch/at91_pio.h> diff --git a/board/atmel/at91sam9263ek/led.c b/board/atmel/at91sam9263ek/led.c index 55fb80dc8d73ad974084bc1e304e1496df55fdf6..849501ec36bae594593d8b9c387284000fbb1f9f 100644 --- a/board/atmel/at91sam9263ek/led.c +++ b/board/atmel/at91sam9263ek/led.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <status_led.h> #include <asm/io.h> #include <asm/arch/gpio.h> #include <asm/arch/at91sam9263.h> diff --git a/board/atmel/at91sam9m10g45ek/led.c b/board/atmel/at91sam9m10g45ek/led.c index feef2308715700c501542c1956c91f7bf41cee31..f44a09623fa8aad687e4601f0b1577e87db212e5 100644 --- a/board/atmel/at91sam9m10g45ek/led.c +++ b/board/atmel/at91sam9m10g45ek/led.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <status_led.h> #include <asm/io.h> #include <asm/arch/at91sam9g45.h> #include <asm/arch/clk.h> diff --git a/board/atmel/at91sam9rlek/led.c b/board/atmel/at91sam9rlek/led.c index c2df6efd18ebcf2d3c8e54538dc9a1f9a8e8240d..6dd19aea150c4806184c29f9b9c97fec8559bbbe 100644 --- a/board/atmel/at91sam9rlek/led.c +++ b/board/atmel/at91sam9rlek/led.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <status_led.h> #include <asm/arch/at91sam9rl.h> #include <asm/arch/clk.h> #include <asm/arch/gpio.h> diff --git a/board/cirrus/edb93xx/edb93xx.c b/board/cirrus/edb93xx/edb93xx.c index 8a72fa7a4234d9b50fc352bbc5867fa37584fbe3..88fac76ea527e50c5464580441bea187ed604500 100644 --- a/board/cirrus/edb93xx/edb93xx.c +++ b/board/cirrus/edb93xx/edb93xx.c @@ -16,6 +16,7 @@ #include <config.h> #include <common.h> #include <netdev.h> +#include <status_led.h> #include <asm/io.h> #include <asm/mach-types.h> #include <asm/arch/ep93xx.h> diff --git a/board/compulab/cm_t335/cm_t335.c b/board/compulab/cm_t335/cm_t335.c index 6e38745191c0f6e19d2e73974dbf3fe715dd3bc9..561f2f30bb2639f75fce51382f4927c55ac7e881 100644 --- a/board/compulab/cm_t335/cm_t335.c +++ b/board/compulab/cm_t335/cm_t335.c @@ -11,6 +11,7 @@ #include <env.h> #include <errno.h> #include <miiphy.h> +#include <status_led.h> #include <cpsw.h> #include <asm/arch/sys_proto.h> diff --git a/board/corscience/tricorder/tricorder.c b/board/corscience/tricorder/tricorder.c index 27e6066575e1b4e7e0fce3473e8162c90cb4cb55..da33f8441cec9b23fa8cc6c760f43178e1bace38 100644 --- a/board/corscience/tricorder/tricorder.c +++ b/board/corscience/tricorder/tricorder.c @@ -11,6 +11,7 @@ */ #include <common.h> #include <twl4030.h> +#include <status_led.h> #include <asm/io.h> #include <asm/gpio.h> #include <asm/arch/mmc_host_def.h> diff --git a/board/mini-box/picosam9g45/led.c b/board/mini-box/picosam9g45/led.c index 2e32b7fb3636af8b41a4db2ae23255931d8e92df..8ce8b6bbeac2ad0cbd419858073ab5e4b4d96061 100644 --- a/board/mini-box/picosam9g45/led.c +++ b/board/mini-box/picosam9g45/led.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <status_led.h> #include <asm/io.h> #include <asm/arch/at91sam9g45.h> #include <asm/arch/clk.h> diff --git a/board/ronetix/pm9261/led.c b/board/ronetix/pm9261/led.c index 2a53b2e6bd2f46838e0f25fdae42eb95313e28e0..df955830b1b977b74923b5721c3960c2510e8cf9 100644 --- a/board/ronetix/pm9261/led.c +++ b/board/ronetix/pm9261/led.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <status_led.h> #include <asm/gpio.h> #include <asm/arch/clk.h> #include <asm/arch/gpio.h> diff --git a/board/ronetix/pm9263/led.c b/board/ronetix/pm9263/led.c index 683e151a4fedfc10c46a140181f17093a8ccaf40..524b4afcbd2c098a5be80f30022f79a459d68fbd 100644 --- a/board/ronetix/pm9263/led.c +++ b/board/ronetix/pm9263/led.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <status_led.h> #include <asm/gpio.h> #include <asm/arch/clk.h> #include <asm/arch/gpio.h> diff --git a/board/softing/vining_fpga/socfpga.c b/board/softing/vining_fpga/socfpga.c index 3f597fb99e958201781e1092edad9248d5c037e4..e42d9194ad78e4ff12c8340867331be44b2c3ed2 100644 --- a/board/softing/vining_fpga/socfpga.c +++ b/board/softing/vining_fpga/socfpga.c @@ -5,6 +5,7 @@ #include <common.h> #include <env.h> +#include <status_led.h> #include <asm/arch/reset_manager.h> #include <asm/io.h> #include <asm/gpio.h> diff --git a/board/st/stm32f429-discovery/led.c b/board/st/stm32f429-discovery/led.c index ae6df78f56f26ff0058e16482e02c2893667e561..539c139bb5dd633d680e2fe9bfd3cdae65caa408 100644 --- a/board/st/stm32f429-discovery/led.c +++ b/board/st/stm32f429-discovery/led.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <status_led.h> #include <asm-generic/gpio.h> void coloured_LED_init(void) diff --git a/common/board_r.c b/common/board_r.c index 65720849cd8e7500e43c166cce463a83521cf571..c9f476ef44789dfee91aa0b19b85550ce89f7ae4 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -37,6 +37,7 @@ #include <onenand_uboot.h> #include <scsi.h> #include <serial.h> +#include <status_led.h> #include <stdio_dev.h> #include <timer.h> #include <trace.h> diff --git a/drivers/misc/pca9551_led.c b/drivers/misc/pca9551_led.c index 2333ec803829088c1c090e9b0b4d54a46b229439..cdc4390f8155dcefcf1788006281b9e4904e1f34 100644 --- a/drivers/misc/pca9551_led.c +++ b/drivers/misc/pca9551_led.c @@ -6,6 +6,7 @@ #include <common.h> #include <errno.h> #include <i2c.h> +#include <status_led.h> #ifndef CONFIG_PCA9551_I2C_ADDR #error "CONFIG_PCA9551_I2C_ADDR not defined!" diff --git a/drivers/timer/mpc83xx_timer.c b/drivers/timer/mpc83xx_timer.c index 9bc32f9b281f25f13a4aee2fbe14d0e0d339c10f..dfbc8672b29329689551813cced609cc8641c0c4 100644 --- a/drivers/timer/mpc83xx_timer.c +++ b/drivers/timer/mpc83xx_timer.c @@ -8,6 +8,7 @@ #include <board.h> #include <clk.h> #include <dm.h> +#include <status_led.h> #include <timer.h> #include <watchdog.h> diff --git a/include/common.h b/include/common.h index 4b84969ad3d27e4ff7b586b17240ae18d5229014..52bcc2e591e4538ac4dafc08496f690f1464927c 100644 --- a/include/common.h +++ b/include/common.h @@ -345,10 +345,6 @@ static inline struct in_addr env_get_ip(char *var) return string_to_ip(env_get(var)); } -#ifdef CONFIG_LED_STATUS -# include <status_led.h> -#endif - #include <bootstage.h> #else /* __ASSEMBLY__ */