diff options
| author | Tom Rini <trini@konsulko.com> | 2023-10-12 19:03:56 -0400 | 
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2023-10-24 16:34:45 -0400 | 
| commit | 07011890a60fe45074defbe39f4dca90f82c4955 (patch) | |
| tree | 3261da51f7faf52474cc065a196b5e86fddb748f /arch/m68k/lib | |
| parent | 60c08dd7718364e3ab4565801e7d972aec2ee036 (diff) | |
m68k: 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>
Acked-by: Angelo Dureghello <angelo@kernel-space.org>
Diffstat (limited to 'arch/m68k/lib')
| -rw-r--r-- | arch/m68k/lib/bdinfo.c | 3 | ||||
| -rw-r--r-- | arch/m68k/lib/bootm.c | 1 | ||||
| -rw-r--r-- | arch/m68k/lib/cache.c | 2 | ||||
| -rw-r--r-- | arch/m68k/lib/fec.c | 2 | ||||
| -rw-r--r-- | arch/m68k/lib/interrupts.c | 2 | ||||
| -rw-r--r-- | arch/m68k/lib/time.c | 1 | ||||
| -rw-r--r-- | arch/m68k/lib/traps.c | 1 | 
7 files changed, 5 insertions, 7 deletions
| diff --git a/arch/m68k/lib/bdinfo.c b/arch/m68k/lib/bdinfo.c index 0b4629f1c8a..3719f11c03c 100644 --- a/arch/m68k/lib/bdinfo.c +++ b/arch/m68k/lib/bdinfo.c @@ -6,8 +6,9 @@   * Wolfgang Denk, DENX Software Engineering, wd@denx.de.   */ -#include <common.h> +#include <config.h>  #include <init.h> +#include <asm/u-boot.h>  #include <asm/global_data.h>  DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/m68k/lib/bootm.c b/arch/m68k/lib/bootm.c index f18bed235d4..79d8b34c0d5 100644 --- a/arch/m68k/lib/bootm.c +++ b/arch/m68k/lib/bootm.c @@ -4,7 +4,6 @@   * Wolfgang Denk, DENX Software Engineering, wd@denx.de.   */ -#include <common.h>  #include <bootstage.h>  #include <command.h>  #include <env.h> diff --git a/arch/m68k/lib/cache.c b/arch/m68k/lib/cache.c index 57e5632fdb5..de04124404c 100644 --- a/arch/m68k/lib/cache.c +++ b/arch/m68k/lib/cache.c @@ -4,7 +4,7 @@   * Wolfgang Denk, DENX Software Engineering, wd@denx.de.   */ -#include <common.h> +#include <config.h>  #include <cpu_func.h>  #include <asm/immap.h>  #include <asm/cache.h> diff --git a/arch/m68k/lib/fec.c b/arch/m68k/lib/fec.c index eecea7a0235..d6f238e4b34 100644 --- a/arch/m68k/lib/fec.c +++ b/arch/m68k/lib/fec.c @@ -3,8 +3,8 @@   * (C) 2019 Angelo Dureghello <angelo.dureghello@timesys.com>   */ -#include <common.h>  #include <asm/global_data.h> +#include <linux/errno.h>  #include <linux/libfdt.h>  #include <fdt_support.h> diff --git a/arch/m68k/lib/interrupts.c b/arch/m68k/lib/interrupts.c index 799daab5612..175ec689533 100644 --- a/arch/m68k/lib/interrupts.c +++ b/arch/m68k/lib/interrupts.c @@ -7,7 +7,7 @@   * TsiChung Liew (Tsi-Chung.Liew@freescale.com)   */ -#include <common.h> +#include <stdio.h>  #include <irq_func.h>  #include <watchdog.h>  #include <asm/processor.h> diff --git a/arch/m68k/lib/time.c b/arch/m68k/lib/time.c index 61db1e6c500..4249488c01d 100644 --- a/arch/m68k/lib/time.c +++ b/arch/m68k/lib/time.c @@ -6,7 +6,6 @@   * Wolfgang Denk, DENX Software Engineering, wd@denx.de.   */ -#include <common.h>  #include <init.h>  #include <irq_func.h>  #include <time.h> diff --git a/arch/m68k/lib/traps.c b/arch/m68k/lib/traps.c index 28fe803928e..c283351181d 100644 --- a/arch/m68k/lib/traps.c +++ b/arch/m68k/lib/traps.c @@ -7,7 +7,6 @@   * Wolfgang Denk, DENX Software Engineering, wd@denx.de.   */ -#include <common.h>  #include <init.h>  #include <watchdog.h>  #include <command.h> | 
