diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/atmel_lcd.h | 2 | ||||
-rw-r--r-- | include/bootstage.h | 2 | ||||
-rw-r--r-- | include/configs/at91-sama5_common.h | 2 | ||||
-rw-r--r-- | include/configs/tb100.h | 21 | ||||
-rw-r--r-- | include/configs/tqma6.h | 1 | ||||
-rw-r--r-- | include/env_internal.h | 1 | ||||
-rw-r--r-- | include/getopt.h | 2 | ||||
-rw-r--r-- | include/linux/immap_qe.h | 2 | ||||
-rw-r--r-- | include/mapmem.h | 2 | ||||
-rw-r--r-- | include/memalign.h | 1 | ||||
-rw-r--r-- | include/net6.h | 1 | ||||
-rw-r--r-- | include/rtc.h | 1 | ||||
-rw-r--r-- | include/system-constants.h | 2 | ||||
-rw-r--r-- | include/u-boot/ecdsa.h | 1 |
14 files changed, 15 insertions, 26 deletions
diff --git a/include/atmel_lcd.h b/include/atmel_lcd.h index 66436b9b27..a115d6c170 100644 --- a/include/atmel_lcd.h +++ b/include/atmel_lcd.h @@ -9,6 +9,8 @@ #ifndef _ATMEL_LCD_H_ #define _ATMEL_LCD_H_ +#include <linux/types.h> + /** * struct atmel_lcd_plat - platform data for Atmel LCDs with driver model * diff --git a/include/bootstage.h b/include/bootstage.h index 59a76d0f0c..f4e77b09d7 100644 --- a/include/bootstage.h +++ b/include/bootstage.h @@ -12,7 +12,9 @@ #define _BOOTSTAGE_H #include <linux/types.h> +#ifdef USE_HOSTCC #include <linux/kconfig.h> +#endif /* Flags for each bootstage record */ enum bootstage_flags { diff --git a/include/configs/at91-sama5_common.h b/include/configs/at91-sama5_common.h index 4aa876a9f7..81c76ef52a 100644 --- a/include/configs/at91-sama5_common.h +++ b/include/configs/at91-sama5_common.h @@ -9,8 +9,6 @@ #ifndef __AT91_SAMA5_COMMON_H #define __AT91_SAMA5_COMMON_H -#include <linux/kconfig.h> - /* ARM asynchronous clock */ #define CFG_SYS_AT91_SLOW_CLOCK 32768 #define CFG_SYS_AT91_MAIN_CLOCK 12000000 /* from 12 MHz crystal */ diff --git a/include/configs/tb100.h b/include/configs/tb100.h index 1318f5e5ee..08b6f3219c 100644 --- a/include/configs/tb100.h +++ b/include/configs/tb100.h @@ -21,25 +21,4 @@ */ #define CFG_SYS_NS16550_CLK 166666666 -/* - * Even though the board houses Realtek RTL8211E PHY - * corresponding PHY driver (drivers/net/phy/realtek.c) behaves unexpectedly. - * In particular "parse_status" reports link is down. - * - * Until Realtek PHY driver is fixed fall back to generic PHY driver - * which implements all required functionality and behaves much more stable. - * - * - */ - -/* - * Ethernet configuration - */ -#define ETH0_BASE_ADDRESS 0xFE100000 -#define ETH1_BASE_ADDRESS 0xFE110000 - -/* - * Console configuration - */ - #endif /* _CONFIG_TB100_H_ */ diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h index 8c75a75a9e..2da76f1543 100644 --- a/include/configs/tqma6.h +++ b/include/configs/tqma6.h @@ -8,7 +8,6 @@ #ifndef __CONFIG_H #define __CONFIG_H -#include <linux/kconfig.h> #include <linux/stringify.h> /* place code in last 4 MiB of RAM */ diff --git a/include/env_internal.h b/include/env_internal.h index 5c289d67f9..cbd1ef3e91 100644 --- a/include/env_internal.h +++ b/include/env_internal.h @@ -15,7 +15,6 @@ #ifndef _ENV_INTERNAL_H_ #define _ENV_INTERNAL_H_ -#include <linux/kconfig.h> /************************************************************************** * diff --git a/include/getopt.h b/include/getopt.h index 6f5811e64b..8645082da2 100644 --- a/include/getopt.h +++ b/include/getopt.h @@ -9,6 +9,8 @@ #ifndef __GETOPT_H #define __GETOPT_H +#include <stdbool.h> + /** * struct getopt_state - Saved state across getopt() calls */ diff --git a/include/linux/immap_qe.h b/include/linux/immap_qe.h index 45307f51c1..a692f5dfb3 100644 --- a/include/linux/immap_qe.h +++ b/include/linux/immap_qe.h @@ -11,6 +11,8 @@ #ifndef __IMMAP_QE_H__ #define __IMMAP_QE_H__ +#include <config.h> + #ifdef CONFIG_MPC83xx #if defined(CONFIG_ARCH_MPC8360) #define QE_MURAM_SIZE 0xc000UL diff --git a/include/mapmem.h b/include/mapmem.h index 2134c8004d..bb68b4c11a 100644 --- a/include/mapmem.h +++ b/include/mapmem.h @@ -13,6 +13,8 @@ # ifdef CONFIG_ARCH_MAP_SYSMEM #include <asm/io.h> # else +#include <linux/types.h> + static inline void *map_sysmem(phys_addr_t paddr, unsigned long len) { return (void *)(uintptr_t)paddr; diff --git a/include/memalign.h b/include/memalign.h index f67f0a74f2..eaa9f6b5cb 100644 --- a/include/memalign.h +++ b/include/memalign.h @@ -11,6 +11,7 @@ * is used to align DMA buffers. */ #ifndef __ASSEMBLY__ +#include <linux/kernel.h> #include <asm/cache.h> #include <malloc.h> diff --git a/include/net6.h b/include/net6.h index 1e766aa720..1ed989e584 100644 --- a/include/net6.h +++ b/include/net6.h @@ -12,6 +12,7 @@ #include <net.h> #include <linux/ctype.h> +#include <linux/errno.h> /* struct in6_addr - 128 bits long IPv6 address */ struct in6_addr { diff --git a/include/rtc.h b/include/rtc.h index b6fdbb60dc..22f6d37059 100644 --- a/include/rtc.h +++ b/include/rtc.h @@ -16,6 +16,7 @@ #include <bcd.h> #include <rtc_def.h> #include <linux/errno.h> +#include <linux/types.h> typedef int64_t time64_t; struct udevice; diff --git a/include/system-constants.h b/include/system-constants.h index d688629f11..e09fc418a4 100644 --- a/include/system-constants.h +++ b/include/system-constants.h @@ -3,6 +3,8 @@ #ifndef __SYSTEM_CONSTANTS_H__ #define __SYSTEM_CONSTANTS_H__ +#include <config.h> + /* * The most common case for our initial stack pointer address is to * say that we have defined a static intiial ram address location and diff --git a/include/u-boot/ecdsa.h b/include/u-boot/ecdsa.h index 6e0269e3ae..53490c6b28 100644 --- a/include/u-boot/ecdsa.h +++ b/include/u-boot/ecdsa.h @@ -8,7 +8,6 @@ #include <errno.h> #include <image.h> -#include <linux/kconfig.h> /** * crypto_algo API impementation for ECDSA; |