From 5d2f4c9641bae821d421a3d362596f84905daca2 Mon Sep 17 00:00:00 2001 From: Mario Six Date: Mon, 21 Jan 2019 09:17:59 +0100 Subject: 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 --- include/configs/tuge1.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/configs/tuge1.h') diff --git a/include/configs/tuge1.h b/include/configs/tuge1.h index 5fceac7ae1..af6a348ba5 100644 --- a/include/configs/tuge1.h +++ b/include/configs/tuge1.h @@ -118,7 +118,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) @@ -135,7 +135,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_128MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_2 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD) @@ -364,7 +364,7 @@ BR_MS_GPCM | \ BR_V) -#define CONFIG_SYS_OR2_PRELIM (MEG_TO_AM(CONFIG_SYS_APP1_SIZE) | \ +#define CONFIG_SYS_OR2_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | \ OR_GPCM_ACS_DIV4 | \ OR_GPCM_SCY_2 | \ -- cgit