Re: [PATCH v3] common: Drop display_options.h from common header

2022-08-10 Thread Tom Rini
On Sun, Jul 31, 2022 at 12:28:48PM -0600, Simon Glass wrote:

> Move this out of the common header and include it only where needed.
> 
> Signed-off-by: Simon Glass 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


[PATCH v3] common: Drop display_options.h from common header

2022-07-31 Thread Simon Glass
Move this out of the common header and include it only where needed.

Signed-off-by: Simon Glass 
---

Changes in v3:
- Rebase to master

Changes in v2:
- Rebase to master

 arch/arm/cpu/armv7/s5p-common/cpu_info.c | 1 +
 arch/arm/mach-at91/arm926ejs/eflash.c| 1 +
 arch/arm/mach-imx/hab.c  | 1 +
 arch/powerpc/cpu/mpc85xx/cpu.c   | 1 +
 arch/powerpc/cpu/mpc85xx/cpu_init.c  | 1 +
 arch/powerpc/cpu/mpc85xx/tlb.c   | 1 +
 arch/powerpc/cpu/mpc8xx/cpu.c| 1 +
 arch/powerpc/cpu/mpc8xxx/law.c   | 1 +
 arch/x86/cpu/broadwell/refcode.c | 1 +
 board/freescale/ls1028a/ls1028a.c| 1 +
 board/freescale/ls1088a/ls1088a.c| 1 +
 board/freescale/ls2080aqds/ls2080aqds.c  | 1 +
 board/freescale/ls2080ardb/ls2080ardb.c  | 1 +
 board/freescale/lx2160a/lx2160a.c| 1 +
 board/freescale/mpc8548cds/mpc8548cds.c  | 1 +
 board/kosagi/novena/novena.c | 1 +
 board/traverse/ten64/ten64.c | 1 +
 boot/image-board.c   | 1 +
 boot/image.c | 1 +
 cmd/acpi.c   | 1 +
 cmd/axi.c| 1 +
 cmd/bcb.c| 1 +
 cmd/cpu.c| 1 +
 cmd/fpgad.c  | 1 +
 cmd/io.c | 1 +
 cmd/mem.c| 1 +
 cmd/mmc.c| 1 +
 cmd/rtc.c| 1 +
 cmd/sf.c | 1 +
 cmd/version.c| 1 +
 common/bloblist.c| 1 +
 common/board_f.c | 1 +
 common/board_r.c | 1 +
 common/console.c | 1 +
 common/log.c | 1 +
 common/splash.c  | 1 +
 drivers/core/acpi.c  | 1 +
 drivers/cpu/bmips_cpu.c  | 1 +
 drivers/ddr/fsl/main.c   | 1 +
 drivers/mmc/gen_atmel_mci.c  | 1 +
 drivers/mtd/onenand/onenand_uboot.c  | 1 +
 drivers/mtd/spi/sf_dataflash.c   | 1 +
 drivers/mtd/spi/spi-nor-core.c   | 1 +
 drivers/net/xilinx_axi_emac.c| 1 +
 drivers/tpm/tpm_atmel_twi.c  | 1 +
 drivers/tpm/tpm_tis_sandbox.c| 1 +
 fs/fs.c  | 1 +
 include/common.h | 1 -
 include/display_options.h| 1 +
 lib/aes.c| 1 +
 lib/display_options.c| 1 +
 lib/fdtdec.c | 1 +
 net/nfs.c| 1 +
 net/tftp.c   | 1 +
 54 files changed, 53 insertions(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv7/s5p-common/cpu_info.c 
b/arch/arm/cpu/armv7/s5p-common/cpu_info.c
index d910282e2b2..fb2920950d4 100644
--- a/arch/arm/cpu/armv7/s5p-common/cpu_info.c
+++ b/arch/arm/cpu/armv7/s5p-common/cpu_info.c
@@ -4,6 +4,7 @@
  * Minkyu Kang 
  */
 #include 
+#include 
 #include 
 #include 
 #include 
diff --git a/arch/arm/mach-at91/arm926ejs/eflash.c 
b/arch/arm/mach-at91/arm926ejs/eflash.c
index 043f06a8271..aade13cc014 100644
--- a/arch/arm/mach-at91/arm926ejs/eflash.c
+++ b/arch/arm/mach-at91/arm926ejs/eflash.c
@@ -43,6 +43,7 @@
  * do a read-modify-write for partially programmed pages
  */
 #include 
+#include 
 #include 
 #include 
 #include 
diff --git a/arch/arm/mach-imx/hab.c b/arch/arm/mach-imx/hab.c
index 55317abba23..0d1a7766be8 100644
--- a/arch/arm/mach-imx/hab.c
+++ b/arch/arm/mach-imx/hab.c
@@ -6,6 +6,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
diff --git a/arch/powerpc/cpu/mpc85xx/cpu.c b/arch/powerpc/cpu/mpc85xx/cpu.c
index ba9736ebef4..ffa8b602426 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu.c
+++ b/arch/powerpc/cpu/mpc85xx/cpu.c
@@ -12,6 +12,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c 
b/arch/powerpc/cpu/mpc85xx/cpu_init.c
index 5fa4234fd09..92a7e608ceb 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu_init.c
+++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c
@@ -10,6 +10,7 @@
  */
 
 #include 
+#include 
 #include 
 #include 
 #include 
diff --git a/arch/powerpc/cpu/mpc85xx/tlb.c b/arch/powerpc/cpu/mpc85xx/tlb.c
index 4f6778c720d..ab616497fa0 100644
--- a/arch/powerpc/cpu/mpc85xx/tlb.c
+++ b/arch/powerpc/cpu/mpc85xx/tlb.c
@@ -7,6 +7,7 @@
  */
 
 #include 
+#include 
 #include 
 #include 
 #include 
diff --git a/arch/powerpc/cpu/mpc8xx/cpu.c b/arch/powerpc/cpu/mpc8xx/cpu.c
index 6d16ed084e6..892283436de 100644
--- a/arch/powerpc/cpu/mpc8xx/cpu.c
+++ b/arch/powerpc/cpu/mpc8xx/cpu.c
@@ -18,6 +18,7 @@
 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
diff --git a/arch/powerpc/cpu/mpc8xxx/law.c b/arch/powerpc/cpu/mpc8xxx/law.c
index 713ff172bce..198b5b10a52 100644
---