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:
Tom Rini 2023-12-14 13:16:52 -05:00
parent f90dee1a39
commit 071cf2767f
7 changed files with 8 additions and 2 deletions

View file

@ -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];

View file

@ -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;

View file

@ -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 */

View file

@ -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>

View file

@ -9,6 +9,7 @@
#ifndef __ASSEMBLY__
#include <linux/types.h>
#include <asm/processor.h>
#include <asm/mrccache.h>

View file

@ -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>

View file

@ -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