[PATCH 035/149] board: cavium: Remove <common.h> and add needed includes
Tom Rini
trini at konsulko.com
Wed May 1 04:41:22 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: Sergey Temerkhanov <s.temerkhanov at gmail.com>
---
board/cavium/thunderx/atf.c | 3 ++-
board/cavium/thunderx/thunderx.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/board/cavium/thunderx/atf.c b/board/cavium/thunderx/atf.c
index 37340fe97003..ce7afb78ed50 100644
--- a/board/cavium/thunderx/atf.c
+++ b/board/cavium/thunderx/atf.c
@@ -3,8 +3,9 @@
* (C) Copyright 2014, Cavium Inc.
**/
-#include <common.h>
+#include <config.h>
#include <command.h>
+#include <vsprintf.h>
#include <asm/cache.h>
#include <asm/io.h>
#include <asm/ptrace.h>
diff --git a/board/cavium/thunderx/thunderx.c b/board/cavium/thunderx/thunderx.c
index ab20825ed36f..b1a805c13609 100644
--- a/board/cavium/thunderx/thunderx.c
+++ b/board/cavium/thunderx/thunderx.c
@@ -3,7 +3,7 @@
* (C) Copyright 2014, Cavium Inc.
**/
-#include <common.h>
+#include <config.h>
#include <cpu_func.h>
#include <dm.h>
#include <init.h>
--
2.34.1
More information about the U-Boot
mailing list