diff options
Diffstat (limited to 'include/configs/sbc8349.h')
-rw-r--r-- | include/configs/sbc8349.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/sbc8349.h b/include/configs/sbc8349.h index edf76e58519..dffb7c61086 100644 --- a/include/configs/sbc8349.h +++ b/include/configs/sbc8349.h @@ -103,7 +103,7 @@ | 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_8MB \ | OR_GPCM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \ @@ -190,7 +190,7 @@ * 1111 1100 0000 0000 0110 1001 0000 0001 = FC006901 */ -#define CONFIG_SYS_OR2_PRELIM (MEG_TO_AM(CONFIG_SYS_LBC_SDRAM_SIZE) \ +#define CONFIG_SYS_OR2_PRELIM (OR_AM_64MB \ | OR_SDRAM_XAM \ | ((9 - OR_SDRAM_MIN_COLS) << OR_SDRAM_COLS_SHIFT) \ | ((13 - OR_SDRAM_MIN_ROWS) << OR_SDRAM_ROWS_SHIFT) \ |