Message ID | 20240501024316.1767971-43-trini@konsulko.com |
---|---|
State | Accepted |
Commit | ab61cc7d98f690216361d3bab5950cd46fe75a10 |
Delegated to: | Tom Rini |
Headers | show |
Series | [001/149] global: Make <asm/global_data.h> include <asm/u-boot.h> | expand |
On 30/04/24, Tom Rini wrote: > 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: Oliver Graute <oliver.graute@kococonnector.com> > Cc: Stefan Roese <sr@denx.de> > --- > 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 d8e5b1d69633..99c33a1943e0 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 b432ce27459f..242e794981b7 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 bb7a3d4a9aa0..74a189ab4d7f 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 315b6dc54295..4197e88fb6ff 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.34.1 > Acked-by: Oliver Graute <oliver.graute@kococonnector.com>
diff --git a/board/congatec/cgtqmx8/cgtqmx8.c b/board/congatec/cgtqmx8/cgtqmx8.c index d8e5b1d69633..99c33a1943e0 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 b432ce27459f..242e794981b7 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 bb7a3d4a9aa0..74a189ab4d7f 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 315b6dc54295..4197e88fb6ff 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>
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: Oliver Graute <oliver.graute@kococonnector.com> Cc: Stefan Roese <sr@denx.de> --- 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(-)