diff options
author | Tom Rini <trini@konsulko.com> | 2023-10-12 19:03:58 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-24 16:34:45 -0400 |
commit | 8991fed97dbd5fe79354b533b32c78742a126d02 (patch) | |
tree | 765abd03321f62d779040d00bc40ad9a6fcb1e90 /arch/mips/lib | |
parent | 577dddb5b7d6e0f962ea06ed80b85bc6ec5ca7d8 (diff) |
mips: Remove common.h usage
We can remove common.h from most cases of the code here, and only a few
places need an additional header instead.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/mips/lib')
-rw-r--r-- | arch/mips/lib/boot.c | 1 | ||||
-rw-r--r-- | arch/mips/lib/bootm.c | 1 | ||||
-rw-r--r-- | arch/mips/lib/cache.c | 1 | ||||
-rw-r--r-- | arch/mips/lib/reloc.c | 1 | ||||
-rw-r--r-- | arch/mips/lib/spl.c | 1 | ||||
-rw-r--r-- | arch/mips/lib/stack.c | 1 | ||||
-rw-r--r-- | arch/mips/lib/traps.c | 3 |
7 files changed, 2 insertions, 7 deletions
diff --git a/arch/mips/lib/boot.c b/arch/mips/lib/boot.c index 1b29d637ce..749625aa97 100644 --- a/arch/mips/lib/boot.c +++ b/arch/mips/lib/boot.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Stefan Roese <sr@denx.de> */ -#include <common.h> #include <command.h> #include <cpu_func.h> #include <asm/global_data.h> diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index ab92bd06b0..d6d2f7d9d0 100644 --- a/arch/mips/lib/bootm.c +++ b/arch/mips/lib/bootm.c @@ -4,7 +4,6 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <common.h> #include <bootstage.h> #include <env.h> #include <image.h> diff --git a/arch/mips/lib/cache.c b/arch/mips/lib/cache.c index d23b38d6b9..d365578b92 100644 --- a/arch/mips/lib/cache.c +++ b/arch/mips/lib/cache.c @@ -4,7 +4,6 @@ * Wolfgang Denk, DENX Software Engineering, <wd@denx.de> */ -#include <common.h> #include <cpu_func.h> #include <malloc.h> #include <asm/cache.h> diff --git a/arch/mips/lib/reloc.c b/arch/mips/lib/reloc.c index 9cf6809f40..69dd63a31d 100644 --- a/arch/mips/lib/reloc.c +++ b/arch/mips/lib/reloc.c @@ -26,7 +26,6 @@ * terminating R_MIPS_NONE reloc includes no offset. */ -#include <common.h> #include <cpu_func.h> #include <init.h> #include <asm/relocs.h> diff --git a/arch/mips/lib/spl.c b/arch/mips/lib/spl.c index f96fda5b2d..b4087546dd 100644 --- a/arch/mips/lib/spl.c +++ b/arch/mips/lib/spl.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Stefan Roese <sr@denx.de> */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <spl.h> diff --git a/arch/mips/lib/stack.c b/arch/mips/lib/stack.c index 930d21856d..5797271ae9 100644 --- a/arch/mips/lib/stack.c +++ b/arch/mips/lib/stack.c @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <init.h> #include <log.h> #include <asm/global_data.h> diff --git a/arch/mips/lib/traps.c b/arch/mips/lib/traps.c index 7a682f256a..40469d1be0 100644 --- a/arch/mips/lib/traps.c +++ b/arch/mips/lib/traps.c @@ -10,9 +10,9 @@ * Copyright (C) 2014, Imagination Technologies Ltd. */ -#include <common.h> #include <asm/global_data.h> #include <asm/ptrace.h> +#include <config.h> #include <cpu_func.h> #include <hang.h> #include <init.h> @@ -20,6 +20,7 @@ #include <asm/mipsregs.h> #include <asm/addrspace.h> #include <asm/system.h> +#include <asm/u-boot.h> DECLARE_GLOBAL_DATA_PTR; |