[PATCH 2/6] Revert "p1_p2_rdb: Remove CONFIG_CPLD_[BO]R_PRELIM"
Pali Rohár
pali at kernel.org
Sun May 1 16:40:56 CEST 2022
On Sunday 01 May 2022 10:38:31 Tom Rini wrote:
> On Sun, May 01, 2022 at 04:23:53PM +0200, Pali Rohár wrote:
>
> > This reverts commit 53f2222c71df0fce21d403400a9bc1532e08107c.
> >
> > These macros and their values are required for configuring CPLD memory
> > mapping in LBC. So revert them back.
> >
> > Signed-off-by: Pali Rohár <pali at kernel.org>
> > ---
> > include/configs/p1_p2_rdb_pc.h | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
> > index 648d941c59b2..9726ef3077f7 100644
> > --- a/include/configs/p1_p2_rdb_pc.h
> > +++ b/include/configs/p1_p2_rdb_pc.h
> > @@ -323,6 +323,9 @@
> > #define CONFIG_SYS_CPLD_BASE_PHYS CONFIG_SYS_CPLD_BASE
> > #endif
> > /* CPLD config size: 1Mb */
> > +#define CONFIG_CPLD_BR_PRELIM (BR_PHYS_ADDR(CONFIG_SYS_CPLD_BASE_PHYS) | \
> > + BR_PS_8 | BR_V)
> > +#define CONFIG_CPLD_OR_PRELIM (0xfff009f7)
> >
> > #define CONFIG_SYS_PMC_BASE 0xff980000
> > #define CONFIG_SYS_PMC_BASE_PHYS CONFIG_SYS_PMC_BASE
>
> I'm missing something. I don't see anything when I "git grep
> CPLD_.R_PRELIM" so where / how are they referenced?
See other patches in this series. These two macros are used for defining other BR/OR macros.
More information about the U-Boot
mailing list