diff mbox series

[035/149] board: cavium: Remove <common.h> and add needed includes

Message ID 20240501024316.1767971-35-trini@konsulko.com
State Accepted
Commit 7e61e89859afb6d417f023593276e70f76dd1f80
Delegated to: Tom Rini
Headers show
Series [001/149] global: Make <asm/global_data.h> include <asm/u-boot.h> | expand

Commit Message

Tom Rini May 1, 2024, 2:41 a.m. UTC
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
Cc: Sergey Temerkhanov <s.temerkhanov@gmail.com>
---
 board/cavium/thunderx/atf.c      | 3 ++-
 board/cavium/thunderx/thunderx.c | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

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>