diff options
author | york <yorksun@freescale.com> | 2010-07-02 22:25:58 +0000 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-07-26 13:16:10 -0500 |
commit | 394c46caf965f47717a952a09a51b73c2cb473b3 (patch) | |
tree | 29adb2ef20cb63cf655f872362e1f598277e2637 /board/freescale/p2020ds/p2020ds.c | |
parent | 5fb8a8a7315689cfbc81ec596cce160ee2ec6562 (diff) | |
download | u-boot-imx-394c46caf965f47717a952a09a51b73c2cb473b3.zip u-boot-imx-394c46caf965f47717a952a09a51b73c2cb473b3.tar.gz u-boot-imx-394c46caf965f47717a952a09a51b73c2cb473b3.tar.bz2 |
powerpc/p2020ds: Integrated with P2020DS DDR change and enabled hwconfig
Enabled SPD
Enabled DDR2
Enabled hwconfig
Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/p2020ds/p2020ds.c')
-rw-r--r-- | board/freescale/p2020ds/p2020ds.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/board/freescale/p2020ds/p2020ds.c b/board/freescale/p2020ds/p2020ds.c index 3fd1b34..608ff91 100644 --- a/board/freescale/p2020ds/p2020ds.c +++ b/board/freescale/p2020ds/p2020ds.c @@ -69,13 +69,16 @@ int checkboard(void) return 0; } +const char *board_hwconfig = "foo:bar=baz"; +const char *cpu_hwconfig = "foo:bar=baz"; + phys_size_t initdram(int board_type) { phys_size_t dram_size = 0; puts("Initializing...."); -#ifdef CONFIG_SPD_EEPROM +#ifdef CONFIG_DDR_SPD dram_size = fsl_ddr_sdram(); #else dram_size = fixed_sdram(); @@ -94,7 +97,7 @@ phys_size_t initdram(int board_type) return dram_size; } -#if !defined(CONFIG_SPD_EEPROM) +#if !defined(CONFIG_DDR_SPD) /* * Fixed sdram init -- doesn't use serial presence detect. */ |