]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/dave/PPChameleonEVB/PPChameleonEVB.c
ppc4xx: Fix SDRAM inititialization of multiple 405 based board ports
[people/ms/u-boot.git] / board / dave / PPChameleonEVB / PPChameleonEVB.c
index c9b288a41308221277b0044bb74604b4254db68d..c715ad414a56a6a8f3dcfb483e5374c1249b5803 100644 (file)
@@ -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 */