From 87c9063963561d3d01064be34d0c30855a56587b Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Thu, 5 Feb 2009 20:40:58 -0600 Subject: ppc: Move CONFIG_MAX_MEM_MAPPED to common config.h Moved CONFIG_MAX_MEM_MAPPED to the asm/config.h so its kept consistent between the two current users (lib_ppc/board.c, 44x SPD DDR2). Signed-off-by: Kumar Gala Acked-by: Stefan Roese --- cpu/ppc4xx/44x_spd_ddr2.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'cpu/ppc4xx') diff --git a/cpu/ppc4xx/44x_spd_ddr2.c b/cpu/ppc4xx/44x_spd_ddr2.c index b40e4b151..1e495716b 100644 --- a/cpu/ppc4xx/44x_spd_ddr2.c +++ b/cpu/ppc4xx/44x_spd_ddr2.c @@ -160,9 +160,6 @@ * SDRAM. This is because we only map the first 2GB on such systems, and therefore * the ECC parity byte of the remaining area can't be written. */ -#ifndef CONFIG_MAX_MEM_MAPPED -#define CONFIG_MAX_MEM_MAPPED ((phys_size_t)2 << 30) -#endif /* * Board-specific Platform code can reimplement spd_ddr_init_hang () if needed -- cgit v1.2.3