diff options
author | Mario Six <mario.six@gdsys.cc> | 2019-01-21 09:17:59 +0100 |
---|---|---|
committer | Mario Six <mario.six@gdsys.cc> | 2019-05-21 07:52:33 +0200 |
commit | 5d2f4c9641bae821d421a3d362596f84905daca2 (patch) | |
tree | fed13b7f4d93f65c6122f8ade6236bd77e7a52f0 /include/configs/ids8313.h | |
parent | 9c5df7a2a9f72ee397a67c2f19476566a35d7c18 (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/ids8313.h')
-rw-r--r-- | include/configs/ids8313.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/configs/ids8313.h b/include/configs/ids8313.h index e930c65637..871b91f218 100644 --- a/include/configs/ids8313.h +++ b/include/configs/ids8313.h @@ -147,7 +147,7 @@ BR_MS_GPCM |\ BR_V) -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) |\ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB |\ OR_GPCM_SCY_10 |\ OR_GPCM_EHTR |\ OR_GPCM_TRLX |\ @@ -171,12 +171,12 @@ #define NAND_CACHE_PAGES 64 #define CONFIG_SYS_BR1_PRELIM ((CONFIG_SYS_NAND_BASE) |\ - (2<<BR_DECC_SHIFT) |\ + BR_DECC_CHK_GEN |\ BR_PS_8 |\ BR_MS_FCM |\ BR_V) -#define CONFIG_SYS_OR1_PRELIM (0xFFFF8000 |\ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_32KB |\ OR_FCM_PGS |\ OR_FCM_CSCT |\ OR_FCM_CST |\ @@ -199,7 +199,7 @@ BR_MS_GPCM |\ BR_V) -#define CONFIG_SYS_OR2_PRELIM 0xFFFE0C74 +#define CONFIG_SYS_OR2_PRELIM (OR_AM_128KB | OR_GPCM_CSNT | OR_GPCM_ACS_DIV4 | OR_GPCM_SCY_7 | OR_GPCM_TRLX_SET) /* * CPLD setup @@ -214,7 +214,7 @@ BR_MS_GPCM |\ BR_V) -#define CONFIG_SYS_OR3_PRELIM 0xFFFF8814 +#define CONFIG_SYS_OR3_PRELIM (OR_AM_32KB | OR_GPCM_CSNT | OR_GPCM_SCY_1 | OR_GPCM_TRLX_SET) /* * HW-Watchdog |