[PATCH 2/6] Revert "p1_p2_rdb: Remove CONFIG_CPLD_[BO]R_PRELIM"

Tom Rini trini at konsulko.com
Sun May 1 16:38:31 CEST 2022


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?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220501/5cb0bef9/attachment.sig>


More information about the U-Boot mailing list