summaryrefslogtreecommitdiffstats
path: root/board/freescale/corenet_ds/corenet_ds.c
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2010-10-18 13:46:49 -0700
committerKumar Gala <galak@kernel.crashing.org>2010-10-20 02:38:39 -0500
commit28a966715be78fc35147086e68fc80aeb21235b1 (patch)
tree28351553e38981202b6afb5f42e33f9e036dfe2d /board/freescale/corenet_ds/corenet_ds.c
parent84bc00300f2e0fa0a2d5907589fdff613f72e704 (diff)
downloadtalos-obmc-uboot-28a966715be78fc35147086e68fc80aeb21235b1.tar.gz
talos-obmc-uboot-28a966715be78fc35147086e68fc80aeb21235b1.zip
Adding fixed sdram setting for cornet_ds board
800, 900, 1000, 1200MT/s data rate parameters are added for fixed sdram setting. SPD based parameters and fixed parameters can be toggled by hwconfig. To use fixed parameters, hwconfig=fsl_ddr:sdram=fixed To use SPD parameters, hwconfig=fsl_ddr:ctlr_intlv=cacheline,bank_intlv=cs0_cs1 Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/corenet_ds/corenet_ds.c')
-rw-r--r--board/freescale/corenet_ds/corenet_ds.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/board/freescale/corenet_ds/corenet_ds.c b/board/freescale/corenet_ds/corenet_ds.c
index 48d95d6a63..68c63ac027 100644
--- a/board/freescale/corenet_ds/corenet_ds.c
+++ b/board/freescale/corenet_ds/corenet_ds.c
@@ -29,7 +29,6 @@
#include <asm/cache.h>
#include <asm/immap_85xx.h>
#include <asm/fsl_law.h>
-#include <asm/fsl_ddr_sdram.h>
#include <asm/fsl_serdes.h>
#include <asm/fsl_portals.h>
#include <asm/fsl_liodn.h>
@@ -196,20 +195,6 @@ int misc_init_r(void)
return 0;
}
-phys_size_t initdram(int board_type)
-{
- phys_size_t dram_size;
-
- puts("Initializing....\n");
-
- dram_size = fsl_ddr_sdram();
-
- setup_ddr_tlbs(dram_size / 0x100000);
-
- puts(" DDR: ");
- return dram_size;
-}
-
#ifdef CONFIG_MP
void board_lmb_reserve(struct lmb *lmb)
{
OpenPOWER on IntegriCloud