summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteven A. Falco <sfalco@harris.com>2008-11-20 14:37:57 -0500
committerStefan Roese <sr@denx.de>2008-11-21 10:52:09 +0100
commit711e2b2af820d21d9931d4cf8057d3894600fd54 (patch)
tree3b7e3bf101defe00c615562db41b400f3b7b4d11 /include
parent25fb4eaaeab3f8866020818f4729d990dcc91cf0 (diff)
downloadu-boot-imx-711e2b2af820d21d9931d4cf8057d3894600fd54.zip
u-boot-imx-711e2b2af820d21d9931d4cf8057d3894600fd54.tar.gz
u-boot-imx-711e2b2af820d21d9931d4cf8057d3894600fd54.tar.bz2
ppc4xx: Delete unused definitions for SDR0_DDRCFG from ppc4xx.h
The definitions of bits in SDR_CFG are incorrect, and not used within U-Boot. Therefore, they can be removed. The naming of the sdr_ddrdl/sdr_cfg registers do not follow conventions, and are unused, so they can be removed too. A definition for SDR0_DDRCFG is added. Signed-off-by: Steven A. Falco <sfalco@harris.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/ppc440.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/include/ppc440.h b/include/ppc440.h
index ea0ac86..4d2157a 100644
--- a/include/ppc440.h
+++ b/include/ppc440.h
@@ -169,18 +169,9 @@
#define sdr_ecid1 0x0081
#define sdr_ecid2 0x0082
#define sdr_jtag 0x00c0
-#if !defined(CONFIG_440EPX) && !defined(CONFIG_440GRX)
-#define sdr_ddrdl 0x00e0
-#else
-#define sdr_cfg 0x00e0
-#define SDR_CFG_LT2_MASK 0x01000000 /* Leakage test 2*/
-#define SDR_CFG_64_32BITS_MASK 0x01000000 /* Switch DDR 64 bits or 32 bits */
-#define SDR_CFG_32BITS 0x00000000 /* 32 bits */
-#define SDR_CFG_64BITS 0x01000000 /* 64 bits */
-#define SDR_CFG_MC_V2518_MASK 0x02000000 /* Low VDD2518 (2.5 or 1.8V) */
-#define SDR_CFG_MC_V25 0x00000000 /* 2.5 V */
-#define SDR_CFG_MC_V18 0x02000000 /* 1.8 V */
-#endif /* !defined(CONFIG_440EPX) && !defined(CONFIG_440GRX) */
+#if defined(CONFIG_440EPX) || defined(CONFIG_440GRX)
+#define SDR0_DDRCFG 0x00e0
+#endif /* defined(CONFIG_440EPX) || defined(CONFIG_440GRX) */
#define sdr_ebc 0x0100
#define sdr_uart0 0x0120 /* UART0 Config */
#define sdr_uart1 0x0121 /* UART1 Config */