aboutsummaryrefslogtreecommitdiff
path: root/include/configs/MPC832XEMDS.h
diff options
context:
space:
mode:
authorMario Six2019-01-21 09:17:59 +0100
committerMario Six2019-05-21 07:52:33 +0200
commit5d2f4c9641bae821d421a3d362596f84905daca2 (patch)
treefed13b7f4d93f65c6122f8ade6236bd77e7a52f0 /include/configs/MPC832XEMDS.h
parent9c5df7a2a9f72ee397a67c2f19476566a35d7c18 (diff)
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/MPC832XEMDS.h')
-rw-r--r--include/configs/MPC832XEMDS.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/MPC832XEMDS.h b/include/configs/MPC832XEMDS.h
index d51d5ce06d5..3a8a3e4fb89 100644
--- a/include/configs/MPC832XEMDS.h
+++ b/include/configs/MPC832XEMDS.h
@@ -137,7 +137,7 @@
| BR_PS_16 /* 16 bit port */ \
| BR_MS_GPCM /* MSEL = GPCM */ \
| BR_V) /* valid */
-#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \
+#define CONFIG_SYS_OR0_PRELIM (OR_AM_16MB \
| OR_GPCM_XAM \
| OR_GPCM_CSNT \
| OR_GPCM_ACS_DIV2 \
@@ -188,7 +188,7 @@
| BR_MS_GPCM \
| BR_V)
/* 0xF8008801 */
-#define CONFIG_SYS_OR2_PRELIM (P2SZ_TO_AM(CONFIG_SYS_PIB_WINDOW_SIZE) \
+#define CONFIG_SYS_OR2_PRELIM (OR_AM_32KB \
| OR_GPCM_XAM \
| OR_GPCM_CSNT \
| OR_GPCM_XACS \
@@ -207,7 +207,7 @@
| BR_MS_GPCM \
| BR_V)
/* 0xF8010801 */
-#define CONFIG_SYS_OR3_PRELIM (P2SZ_TO_AM(CONFIG_SYS_PIB_WINDOW_SIZE) \
+#define CONFIG_SYS_OR3_PRELIM (OR_AM_32KB \
| OR_GPCM_XAM \
| OR_GPCM_CSNT \
| OR_GPCM_XACS \