board: cavium: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Wed, 1 May 2024 02:41:22 +0000 (20:41 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 6 May 2024 21:07:49 +0000 (15:07 -0600)
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
board/cavium/thunderx/atf.c
board/cavium/thunderx/thunderx.c

index 37340fe..ce7afb7 100644 (file)
@@ -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>
index ab20825..b1a805c 100644 (file)
@@ -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>