common: Drop global inclusion of status_led.h
This is only used by a few files so it should not be in the common header. Move it out. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
9ce2aa1710
commit
c3e4430ef3
17 changed files with 16 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <status_led.h>
|
||||
#include <asm-generic/gpio.h>
|
||||
|
||||
void coloured_LED_init(void)
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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!"
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include <board.h>
|
||||
#include <clk.h>
|
||||
#include <dm.h>
|
||||
#include <status_led.h>
|
||||
#include <timer.h>
|
||||
#include <watchdog.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__ */
|
||||
|
|
Loading…
Reference in a new issue