[PATCH 03/10] ARM: rmobile: Reduce R-Car V3H Condor header usage

Marek Vasut marek.vasut+renesas at mailbox.org
Wed May 31 23:13:09 CEST 2023


There is no need to pull in all those headers as the board file is
basically empty. Drop them all.

Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
 board/renesas/condor/condor.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/board/renesas/condor/condor.c b/board/renesas/condor/condor.c
index fdb95ac1a59..e29c67b5094 100644
--- a/board/renesas/condor/condor.c
+++ b/board/renesas/condor/condor.c
@@ -7,17 +7,6 @@
  */
 
 #include <common.h>
-#include <cpu_func.h>
-#include <hang.h>
-#include <init.h>
-#include <asm/global_data.h>
-#include <asm/processor.h>
-#include <asm/mach-types.h>
-#include <asm/io.h>
-#include <linux/errno.h>
-#include <asm/arch/sys_proto.h>
-
-DECLARE_GLOBAL_DATA_PTR;
 
 int board_init(void)
 {
-- 
2.39.2



More information about the U-Boot mailing list