Hi On Wed, May 1, 2024 at 4:43 AM Tom Rini <trini@konsulko.com> 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: Michael Trimarchi <michael@amarulasolutions.com> > --- > board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c | 1 - > board/bsh/imx6ulz_smm_m2/spl.c | 1 - > board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c | 1 - > 3 files changed, 3 deletions(-) > > diff --git a/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c b/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c > index c82eabbfbea1..c03e390762a9 100644 > --- a/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c > +++ b/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c > @@ -14,7 +14,6 @@ > #include <asm/mach-imx/boot_mode.h> > #include <asm/global_data.h> > #include <asm/gpio.h> > -#include <common.h> > #include <env.h> > #include <linux/sizes.h> > > diff --git a/board/bsh/imx6ulz_smm_m2/spl.c b/board/bsh/imx6ulz_smm_m2/spl.c > index 5b4812e129e3..724841b57456 100644 > --- a/board/bsh/imx6ulz_smm_m2/spl.c > +++ b/board/bsh/imx6ulz_smm_m2/spl.c > @@ -1,6 +1,5 @@ > // SPDX-License-Identifier: GPL-2.0+ > > -#include <common.h> > #include <cpu_func.h> > #include <hang.h> > #include <init.h> > diff --git a/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c b/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c > index 0ebf208be82a..c99896873991 100644 > --- a/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c > +++ b/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c > @@ -3,7 +3,6 @@ > * Copyright 2021 Collabora Ltd. > */ > > -#include <common.h> > #include <asm/arch/sys_proto.h> > #include <env.h> > > -- > 2.34.1 > Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
diff --git a/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c b/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c index c82eabbfbea1..c03e390762a9 100644 --- a/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c +++ b/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c @@ -14,7 +14,6 @@ #include <asm/mach-imx/boot_mode.h> #include <asm/global_data.h> #include <asm/gpio.h> -#include <common.h> #include <env.h> #include <linux/sizes.h> diff --git a/board/bsh/imx6ulz_smm_m2/spl.c b/board/bsh/imx6ulz_smm_m2/spl.c index 5b4812e129e3..724841b57456 100644 --- a/board/bsh/imx6ulz_smm_m2/spl.c +++ b/board/bsh/imx6ulz_smm_m2/spl.c @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <cpu_func.h> #include <hang.h> #include <init.h> diff --git a/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c b/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c index 0ebf208be82a..c99896873991 100644 --- a/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c +++ b/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c @@ -3,7 +3,6 @@ * Copyright 2021 Collabora Ltd. */ -#include <common.h> #include <asm/arch/sys_proto.h> #include <env.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: Michael Trimarchi <michael@amarulasolutions.com> --- board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c | 1 - board/bsh/imx6ulz_smm_m2/spl.c | 1 - board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c | 1 - 3 files changed, 3 deletions(-)