aboutsummaryrefslogtreecommitdiff
path: root/include/configs/kmcoge5ne.h
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2019-01-21 09:17:59 +0100
committerMario Six <mario.six@gdsys.cc>2019-05-21 07:52:33 +0200
commit5d2f4c9641bae821d421a3d362596f84905daca2 (patch)
treefed13b7f4d93f65c6122f8ade6236bd77e7a52f0 /include/configs/kmcoge5ne.h
parent9c5df7a2a9f72ee397a67c2f19476566a35d7c18 (diff)
downloadu-boot-5d2f4c9641bae821d421a3d362596f84905daca2.zip
u-boot-5d2f4c9641bae821d421a3d362596f84905daca2.tar.gz
u-boot-5d2f4c9641bae821d421a3d362596f84905daca2.tar.bz2
mpc83xx: Normalize BR/OR option lines
All BR/OR option lines should have the same layout to make them easier to migrate to Kconfig. This includes using the same option macros everywhere. The normalize the lines, * replace function macros with their results, and * replace hardcoded hex values with standard macros Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'include/configs/kmcoge5ne.h')
-rw-r--r--include/configs/kmcoge5ne.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/configs/kmcoge5ne.h b/include/configs/kmcoge5ne.h
index dcabac5..370e6b4 100644
--- a/include/configs/kmcoge5ne.h
+++ b/include/configs/kmcoge5ne.h
@@ -113,7 +113,7 @@
BR_MS_GPCM | /* MSEL = GPCM */ \
BR_V)
-#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) | \
+#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | \
OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \
OR_GPCM_SCY_5 | \
OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -130,7 +130,7 @@
BR_PS_8 | /* 8 bit port size */ \
BR_MS_GPCM | /* MSEL = GPCM */ \
BR_V)
-#define CONFIG_SYS_OR1_PRELIM (MEG_TO_AM(CONFIG_SYS_KMBEC_FPGA_SIZE) | \
+#define CONFIG_SYS_OR1_PRELIM (OR_AM_64MB | \
OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \
OR_GPCM_SCY_2 | \
OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -349,11 +349,11 @@
#define CONFIG_SYS_BR3_PRELIM (\
CONFIG_SYS_PAXE_BASE | \
- (1 << BR_PS_SHIFT) | \
+ BR_PS_8 | \
BR_V)
#define CONFIG_SYS_OR3_PRELIM (\
- MEG_TO_AM(CONFIG_SYS_PAXE_SIZE) | \
+ OR_AM_256MB | \
OR_GPCM_CSNT | \
OR_GPCM_ACS_DIV2 | \
OR_GPCM_SCY_2 | \
@@ -368,11 +368,11 @@
#define CONFIG_SYS_BR4_PRELIM (\
CONFIG_SYS_BFTIC3_BASE |\
- (1 << BR_PS_SHIFT) | \
+ BR_PS_8 | \
BR_V)
#define CONFIG_SYS_OR4_PRELIM (\
- MEG_TO_AM(CONFIG_SYS_BFTIC3_SIZE) |\
+ OR_AM_256MB|\
OR_GPCM_CSNT | \
OR_GPCM_ACS_DIV2 |\
OR_GPCM_SCY_2 |\