mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
global: Rework architecture global_data.h to include <linux/types.h>
In most cases, the architecture global data currently makes use of assorted linux types, but does not include <linux/types.h> to provide them. Add <linux/types.h> instead of relying on indirect inclusion. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
f90dee1a39
commit
071cf2767f
7 changed files with 8 additions and 2 deletions
|
@ -7,8 +7,8 @@
|
|||
#ifndef __ASM_GBL_DATA_H
|
||||
#define __ASM_GBL_DATA_H
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/regdef.h>
|
||||
#include <asm/types.h>
|
||||
|
||||
struct octeon_eeprom_mac_addr {
|
||||
u8 mac_addr_base[6];
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
#ifndef __ASM_NIOS2_GLOBALDATA_H_
|
||||
#define __ASM_NIOS2_GLOBALDATA_H_
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
/* Architecture-specific global data */
|
||||
struct arch_global_data {
|
||||
u32 dcache_line_size;
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#ifndef __ASM_GBL_DATA_H
|
||||
#define __ASM_GBL_DATA_H
|
||||
|
||||
#include <config.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
/* Architecture-specific global data */
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#ifndef __ASM_GBL_DATA_H
|
||||
#define __ASM_GBL_DATA_H
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/smp.h>
|
||||
#include <asm/u-boot.h>
|
||||
#include <compiler.h>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/mrccache.h>
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
* Charles Frey <charles.frey@c-s.fr>
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <linux/sizes.h>
|
||||
#include <linux/delay.h>
|
||||
#include <init.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
|
||||
|
|
Loading…
Reference in a new issue