common: Drop asm_offsets.h from common header
authorSimon Glass <sjg@chromium.org>
Sun, 10 May 2020 17:40:07 +0000 (11:40 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 19 May 2020 01:19:23 +0000 (21:19 -0400)
Move this uncommon header out of the common header.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/powerpc/cpu/mpc83xx/cpu_init.c
arch/powerpc/cpu/mpc83xx/spl_minimal.c
arch/powerpc/cpu/mpc85xx/commproc.c
arch/powerpc/cpu/mpc85xx/cpu_init_early.c
arch/powerpc/cpu/mpc86xx/cpu_init.c
include/common.h
lib/asm-offsets.c

index af8facad534d17099f81c0c561009f89e58ca336..4defe984774c444058469ee8762f0c89b18fb310 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <asm-offsets.h>
 #include <mpc83xx.h>
 #include <ioports.h>
 #include <asm/io.h>
index 34c81872591f20915d508cc0cbcebb7dd119101d..2c61f2b81dbfacb97b4d13ae309c90df9e93b467 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <asm-offsets.h>
 #include <clock_legacy.h>
 #include <mpc83xx.h>
 #include <time.h>
index 37e706238b6fc92607c7729699afccdb4edef1e6..95215a0b82924b5e8590cae66c702eb04f257931 100644 (file)
@@ -22,6 +22,7 @@
  * currently no deallocator for this memory.
  */
 #include <common.h>
+#include <asm-offsets.h>
 #include <asm/cpm_85xx.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 40cb24dd54a04ac393284bb03b88edc3b9e565eb..c519e8bd4b0380fd3ff069570801677aa957443a 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <asm-offsets.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
 #include <asm/fsl_law.h>
index 34752a34af5ba2a597d1fd17b840c040c805dbb2..a17091d2ff8ccf47488bc1617e727d1ba0bafa8f 100644 (file)
@@ -9,6 +9,7 @@
  * cpu_init.c - low level cpu init
  */
 
+#include <asm-offsets.h>
 #include <config.h>
 #include <common.h>
 #include <init.h>
index 395d1d39018a5c743649f822010450e2aae4f92a..976046e62026958f5c77bfb622148008a73e9c49 100644 (file)
@@ -16,7 +16,6 @@
 #include <config.h>
 #include <errno.h>
 #include <time.h>
-#include <asm-offsets.h>
 #include <linux/bitops.h>
 #include <linux/bug.h>
 #include <linux/delay.h>
index 26175132f3293b27ce29a0e0a1440c5a55f0537b..b17651ed63d81f87cf1e902d9a0a3aec3064a1b4 100644 (file)
@@ -12,6 +12,7 @@
  */
 
 #include <common.h>
+#include <asm-offsets.h>
 
 #include <linux/kbuild.h>