[PATCH 134/149] board: theadorable: Remove <common.h> and add needed includes

Tom Rini trini at konsulko.com
Wed May 1 04:43:01 CEST 2024


Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Stefan Roese <sr at denx.de>
---
 board/theadorable/fpga.c        | 2 +-
 board/theadorable/theadorable.c | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/board/theadorable/fpga.c b/board/theadorable/fpga.c
index bc8379cccf6d..56d3647227bb 100644
--- a/board/theadorable/fpga.c
+++ b/board/theadorable/fpga.c
@@ -3,10 +3,10 @@
  * Copyright (C) 2016 Stefan Roese <sr at denx.de>
  */
 
-#include <common.h>
 #include <altera.h>
 #include <errno.h>
 #include <log.h>
+#include <time.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
diff --git a/board/theadorable/theadorable.c b/board/theadorable/theadorable.c
index 144f122bb206..cca5c3d33b5e 100644
--- a/board/theadorable/theadorable.c
+++ b/board/theadorable/theadorable.c
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2019 Stefan Roese <sr at denx.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <dm.h>
-- 
2.34.1



More information about the U-Boot mailing list