[PATCH 2/6] Revert "p1_p2_rdb: Remove CONFIG_CPLD_[BO]R_PRELIM"
Pali Rohár
pali at kernel.org
Sun May 1 16:23:53 CEST 2022
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
--
2.20.1
More information about the U-Boot
mailing list