sh: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Sat, 27 Apr 2024 14:10:55 +0000 (08:10 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 6 May 2024 21:05:03 +0000 (15:05 -0600)
Remove <common.h> from all sh architecture files and when needed add
missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/sh/cpu/sh4/cache.c
arch/sh/cpu/sh4/cpu.c
arch/sh/cpu/sh4/interrupts.c
arch/sh/cpu/sh4/watchdog.c
arch/sh/lib/board.c
arch/sh/lib/bootm.c
arch/sh/lib/time.c
arch/sh/lib/time_sh2.c
arch/sh/lib/zimageboot.c

index 0f7dfdd..8c18399 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2007 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <asm/cache.h>
index 1b2f50d..b0ad685 100644 (file)
@@ -4,7 +4,6 @@
  * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <irq_func.h>
 #include <cpu_func.h>
index 278a3e3..eace09a 100644 (file)
@@ -4,7 +4,6 @@
  * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  */
 
-#include <common.h>
 #include <irq_func.h>
 
 int interrupt_init(void)
index bf403d3..c597433 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/processor.h>
 #include <asm/system.h>
index b31fa6d..53b1c14 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Vladimir Zapolskiy <vz@mleia.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 
index 05d586b..e298d76 100644 (file)
@@ -7,7 +7,7 @@
  * (c) Copyright 2008 Renesas Solutions Corp.
  */
 
-#include <common.h>
+#include <config.h>
 #include <bootm.h>
 #include <command.h>
 #include <env.h>
index 19c8e3c..5feb198 100644 (file)
@@ -10,7 +10,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/processor.h>
 #include <asm/io.h>
index 5484c54..0ee7dc7 100644 (file)
@@ -7,7 +7,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/io.h>
index c2e285f..e731c6a 100644 (file)
@@ -9,10 +9,10 @@
  * Linux SuperH zImage loading and boot
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <irq_func.h>
+#include <vsprintf.h>
 #include <asm/io.h>
 #include <asm/zimage.h>