diff options
author | Tom Rini <trini@konsulko.com> | 2024-04-27 08:10:53 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-06 15:05:03 -0600 |
commit | d3127bca96b4f48d091c66457cd92eb9e5b06757 (patch) | |
tree | 8084e3bf4c4fb3de3cac575f2811ccec1570b29e /arch/xtensa | |
parent | 55608302a4d8b8bf77bdfbd6cf3b38ca7ab639fb (diff) | |
download | u-boot-d3127bca96b4f48d091c66457cd92eb9e5b06757.tar.gz u-boot-d3127bca96b4f48d091c66457cd92eb9e5b06757.tar.bz2 u-boot-d3127bca96b4f48d091c66457cd92eb9e5b06757.zip |
xtensa: Remove <common.h> and add needed includes
Remove <common.h> from all xtensa architecture files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/cpu/cpu.c | 2 | ||||
-rw-r--r-- | arch/xtensa/cpu/exceptions.c | 2 | ||||
-rw-r--r-- | arch/xtensa/lib/bootm.c | 1 | ||||
-rw-r--r-- | arch/xtensa/lib/cache.c | 1 | ||||
-rw-r--r-- | arch/xtensa/lib/time.c | 1 |
5 files changed, 2 insertions, 5 deletions
diff --git a/arch/xtensa/cpu/cpu.c b/arch/xtensa/cpu/cpu.c index 98d9753b7e..abcd8f7984 100644 --- a/arch/xtensa/cpu/cpu.c +++ b/arch/xtensa/cpu/cpu.c @@ -8,7 +8,7 @@ * CPU specific code */ -#include <common.h> +#include <config.h> #include <command.h> #include <init.h> #include <vsprintf.h> diff --git a/arch/xtensa/cpu/exceptions.c b/arch/xtensa/cpu/exceptions.c index cf9af4326a..206767094e 100644 --- a/arch/xtensa/cpu/exceptions.c +++ b/arch/xtensa/cpu/exceptions.c @@ -10,12 +10,12 @@ * (Note that alloca is a special case and handled in start.S) */ -#include <common.h> #include <command.h> #include <irq_func.h> #include <asm/ptrace.h> #include <asm/string.h> #include <asm/regs.h> +#include <vsprintf.h> typedef void (*handler_t)(struct pt_regs *); diff --git a/arch/xtensa/lib/bootm.c b/arch/xtensa/lib/bootm.c index 9780d46e9b..1de06b7fb5 100644 --- a/arch/xtensa/lib/bootm.c +++ b/arch/xtensa/lib/bootm.c @@ -4,7 +4,6 @@ * (C) Copyright 2014 Cadence Design Systems Inc. */ -#include <common.h> #include <bootm.h> #include <bootstage.h> #include <command.h> diff --git a/arch/xtensa/lib/cache.c b/arch/xtensa/lib/cache.c index 4e0c0acc3b..e6a7f6827f 100644 --- a/arch/xtensa/lib/cache.c +++ b/arch/xtensa/lib/cache.c @@ -4,7 +4,6 @@ * (C) Copyright 2014 - 2016 Cadence Design Systems Inc. */ -#include <common.h> #include <cpu_func.h> #include <asm/cache.h> diff --git a/arch/xtensa/lib/time.c b/arch/xtensa/lib/time.c index 1c927d2a6a..c6739584bb 100644 --- a/arch/xtensa/lib/time.c +++ b/arch/xtensa/lib/time.c @@ -3,7 +3,6 @@ * (C) Copyright 2008 - 2013 Tensilica Inc. */ -#include <common.h> #include <clock_legacy.h> #include <time.h> #include <asm/global_data.h> |