From 7e61e89859afb6d417f023593276e70f76dd1f80 Mon Sep 17 00:00:00 2001 From: Tom Rini <trini@konsulko.com> Date: Tue, 30 Apr 2024 20:41:22 -0600 Subject: [PATCH] board: cavium: Remove <common.h> and add needed includes 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 | 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 37340fe970..ce7afb78ed 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 ab20825ed3..b1a805c136 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.39.5