summaryrefslogtreecommitdiff
path: root/include/asm-ppc/ppc4xx-sdram.h
diff options
context:
space:
mode:
authorFeng Kan <fkan@amcc.com>2008-07-08 22:48:07 -0700
committerStefan Roese <sr@denx.de>2008-07-11 13:18:12 +0200
commit96e5fc0e6a1861d0fea4efa3cd376df95a5b1b89 (patch)
treefc86c4fa1babeae80f7cdf48aca5e9557d0afe12 /include/asm-ppc/ppc4xx-sdram.h
parent7d30793685efcada183891c78fc892e6c9ba50c7 (diff)
ppc4xx: Add initial 460SX reference board (redwood) config file and defines.
Signed-off-by: Feng Kan <fkan@amcc.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/asm-ppc/ppc4xx-sdram.h')
-rw-r--r--include/asm-ppc/ppc4xx-sdram.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-ppc/ppc4xx-sdram.h b/include/asm-ppc/ppc4xx-sdram.h
index e151f0c11..cdccd8fe6 100644
--- a/include/asm-ppc/ppc4xx-sdram.h
+++ b/include/asm-ppc/ppc4xx-sdram.h
@@ -282,7 +282,8 @@
* Memory Bank 0-7 configuration
*/
#if defined(CONFIG_440SPE) || \
- defined(CONFIG_460EX) || defined(CONFIG_460GT)
+ defined(CONFIG_460EX) || defined(CONFIG_460GT) || \
+ defined(CONFIG_460SX)
#define SDRAM_RXBAS_SDBA_MASK 0xFFE00000 /* Base address */
#define SDRAM_RXBAS_SDBA_ENCODE(n) ((u32)(((phys_size_t)(n) >> 2) & 0xFFE00000))
#define SDRAM_RXBAS_SDBA_DECODE(n) ((((phys_size_t)(n)) & 0xFFE00000) << 2)