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>
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(-)