aboutsummaryrefslogtreecommitdiff
path: root/board/freescale/common/p_corenet/tlb.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-12 17:36:51 -0500
committerTom Rini <trini@konsulko.com>2022-12-05 16:05:38 -0500
commit4e5909450ec2acafb3d2e5b9714251ae67e0f0e0 (patch)
treea109a38b3f6db435c193d1d0025ff32e90729ea9 /board/freescale/common/p_corenet/tlb.c
parent0cd03259644dcb967fcd6b31c3a92984125a1fe3 (diff)
downloadu-boot-4e5909450ec2acafb3d2e5b9714251ae67e0f0e0.zip
u-boot-4e5909450ec2acafb3d2e5b9714251ae67e0f0e0.tar.gz
u-boot-4e5909450ec2acafb3d2e5b9714251ae67e0f0e0.tar.bz2
global: Move remaining CONFIG_SYS_NAND_* to CFG_SYS_NAND_*
The rest of the unmigrated CONFIG symbols in the CONFIG_SYS_NAND namespace do not easily transition to Kconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/freescale/common/p_corenet/tlb.c')
-rw-r--r--board/freescale/common/p_corenet/tlb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/common/p_corenet/tlb.c b/board/freescale/common/p_corenet/tlb.c
index c0ab1a5..ef46353 100644
--- a/board/freescale/common/p_corenet/tlb.c
+++ b/board/freescale/common/p_corenet/tlb.c
@@ -135,13 +135,13 @@ struct fsl_e_tlb_entry tlb_table[] = {
MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
0, 13, BOOKE_PAGESZ_4M, 1),
#endif
-#ifdef CONFIG_SYS_NAND_BASE
+#ifdef CFG_SYS_NAND_BASE
/*
* *I*G - NAND
* entry 14 and 15 has been used hard coded, they will be disabled
* in cpu_init_f, so we use entry 16 for nand.
*/
- SET_TLB_ENTRY(1, CONFIG_SYS_NAND_BASE, CONFIG_SYS_NAND_BASE_PHYS,
+ SET_TLB_ENTRY(1, CFG_SYS_NAND_BASE, CFG_SYS_NAND_BASE_PHYS,
MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
0, 16, BOOKE_PAGESZ_1M, 1),
#endif