From ab61cc7d98f690216361d3bab5950cd46fe75a10 Mon Sep 17 00:00:00 2001 From: Tom Rini <trini@konsulko.com> Date: Tue, 30 Apr 2024 20:41:30 -0600 Subject: [PATCH] board: congatec: Remove <common.h> and add needed includes Remove <common.h> from this board vendor directory and when needed add missing include files directly. Acked-by: Oliver Graute <oliver.graute@kococonnector.com> Signed-off-by: Tom Rini <trini@konsulko.com> --- board/congatec/cgtqmx8/cgtqmx8.c | 2 +- board/congatec/cgtqmx8/spl.c | 1 - board/congatec/common/mmc.c | 3 ++- board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/board/congatec/cgtqmx8/cgtqmx8.c b/board/congatec/cgtqmx8/cgtqmx8.c index d8e5b1d696..99c33a1943 100644 --- a/board/congatec/cgtqmx8/cgtqmx8.c +++ b/board/congatec/cgtqmx8/cgtqmx8.c @@ -3,7 +3,7 @@ * Copyright 2018 congatec AG * Copyright (C) 2019 Oliver Graute <oliver.graute@kococonnector.com> */ -#include <common.h> +#include <config.h> #include <errno.h> #include <linux/libfdt.h> #include <fsl_esdhc.h> diff --git a/board/congatec/cgtqmx8/spl.c b/board/congatec/cgtqmx8/spl.c index b432ce2745..242e794981 100644 --- a/board/congatec/cgtqmx8/spl.c +++ b/board/congatec/cgtqmx8/spl.c @@ -4,7 +4,6 @@ * */ -#include <common.h> #include <dm.h> #include <fdt_support.h> #include <init.h> diff --git a/board/congatec/common/mmc.c b/board/congatec/common/mmc.c index bb7a3d4a9a..74a189ab4d 100644 --- a/board/congatec/common/mmc.c +++ b/board/congatec/common/mmc.c @@ -4,7 +4,8 @@ * Copyright 2018 NXP * */ -#include <common.h> + +#include <vsprintf.h> #include <linux/errno.h> #include <asm/io.h> #include <env.h> diff --git a/board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c b/board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c index 315b6dc542..4197e88fb6 100644 --- a/board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c +++ b/board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c @@ -3,7 +3,6 @@ * Copyright (C) 2016 Stefan Roese <sr@denx.de> */ -#include <common.h> #include <i2c.h> #include <init.h> #include <winbond_w83627.h> -- 2.39.5