summaryrefslogtreecommitdiff
path: root/board/dave/PPChameleonEVB/PPChameleonEVB.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-09-12 15:23:20 +0200
committerWolfgang Denk <wd@denx.de>2008-09-12 15:23:20 +0200
commitb476b032562aae5a09985f7e22232a5ee7042746 (patch)
tree0be91a99d935a06e1c51f9c7fc544ee4935762bb /board/dave/PPChameleonEVB/PPChameleonEVB.c
parent06c4ab50f5ccfb55ea2dd324aa28b2b06102e416 (diff)
parentb18410e508a12ba0a177dfc2a386857c806fa96d (diff)
downloadu-boot-imx-b476b032562aae5a09985f7e22232a5ee7042746.zip
u-boot-imx-b476b032562aae5a09985f7e22232a5ee7042746.tar.gz
u-boot-imx-b476b032562aae5a09985f7e22232a5ee7042746.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Diffstat (limited to 'board/dave/PPChameleonEVB/PPChameleonEVB.c')
-rw-r--r--board/dave/PPChameleonEVB/PPChameleonEVB.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/board/dave/PPChameleonEVB/PPChameleonEVB.c b/board/dave/PPChameleonEVB/PPChameleonEVB.c
index c9b288a..c715ad4 100644
--- a/board/dave/PPChameleonEVB/PPChameleonEVB.c
+++ b/board/dave/PPChameleonEVB/PPChameleonEVB.c
@@ -203,31 +203,6 @@ int checkboard (void)
/* ------------------------------------------------------------------------- */
-phys_size_t initdram (int board_type)
-{
- unsigned long val;
-
- mtdcr(memcfga, mem_mb0cf);
- val = mfdcr(memcfgd);
-
-#if 0 /* test-only */
- for (;;) {
- NAND_DISABLE_CE(1);
- udelay(100);
- NAND_ENABLE_CE(1);
- udelay(100);
- }
-#endif
-#if 0
- printf("\nmb0cf=%x\n", val); /* test-only */
- printf("strap=%x\n", mfdcr(strap)); /* test-only */
-#endif
-
- return (4*1024*1024 << ((val & 0x000e0000) >> 17));
-}
-
-/* ------------------------------------------------------------------------- */
-
int testdram (void)
{
/* TODO: XXX XXX XXX */