]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/socrates/sdram.c
pxa27x_udc: remove call to unimplemented set_GPIO_mode()
[karo-tx-uboot.git] / board / socrates / sdram.c
index 029ba029810943504b780c66c6a653d502ef997b..8a9ce790f147e36adb634d60eebae9c31b0140ad 100644 (file)
@@ -39,9 +39,9 @@
  *       so this should be extended for other future boards
  *       using this routine!
  */
-long int sdram_setup(int casl)
+phys_size_t fixed_sdram(void)
 {
-       volatile ccsr_ddr_t *ddr = (void *)(CONFIG_SYS_MPC85xx_DDR_ADDR);
+       volatile ccsr_ddr_t *ddr = (void *)(CONFIG_SYS_MPC8xxx_DDR_ADDR);
 
        /*
         * Disable memory controller.
@@ -77,19 +77,6 @@ long int sdram_setup(int casl)
 }
 #endif
 
-phys_size_t initdram (int board_type)
-{
-       long dram_size = 0;
-#if defined(CONFIG_SPD_EEPROM)
-       dram_size = fsl_ddr_sdram();
-       dram_size = setup_ddr_tlbs(dram_size / 0x100000);
-       dram_size *= 0x100000;
-#else
-       dram_size = sdram_setup(CONFIG_DDR_DEFAULT_CL);
-#endif
-       return dram_size;
-}
-
 #if defined(CONFIG_SYS_DRAM_TEST)
 int testdram (void)
 {