]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 0f7dfdd3cf7909e187b02a62be090af70d21fb1e..8c1839935ca1acf4b5a29fbe6bbef53cb05f99fb 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 1b2f50dbe6e4339bc595374f9ad094564dc60442..b0ad685a91b12080a67b039efeba47759e088335 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 278a3e32ac910b0dcd351f3a8f1cc3cdbc318e18..eace09aeabfa8d45dbd89fe391a2606943d8266f 100644 (file)
@@ -4,7 +4,6 @@
  * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  */
 
-#include <common.h>
 #include <irq_func.h>
 
 int interrupt_init(void)
index bf403d3c520ec517dd49c1f4d0db03840cf9703e..c59743374657092ca07b6da0f2bbda2e434cb112 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 b31fa6d70311c523075a58d5be1c7bba29858768..53b1c147c2e30a39e37a2f95fa58ef3bf6ebbe21 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 05d586b1b6cecc2f2a68650f07a9dd224d877b4f..e298d766b52d0ae666671480916685d7a55caef8 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 19c8e3ca3e7be63606f6388155658677c23a2053..5feb19835561f94f41e0ea8db3afbfb9a52fa101 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 5484c543c6c8284a67716e3dcff824dd1ff16c1b..0ee7dc756ba6701a461b1422ac55c1bb297a182d 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 c2e285ff0f62c38e5acb33b05345c233b47d7359..e731c6a7cb36009e6ff6deccfbe3435f02a6b2e5 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>