summaryrefslogtreecommitdiffstats
path: root/board/ti/k2hk_evm/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/k2hk_evm/board.c')
-rw-r--r--board/ti/k2hk_evm/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/ti/k2hk_evm/board.c b/board/ti/k2hk_evm/board.c
index ef90f9d821..f910ebe032 100644
--- a/board/ti/k2hk_evm/board.c
+++ b/board/ti/k2hk_evm/board.c
@@ -12,6 +12,7 @@
#include <fdt_support.h>
#include <libfdt.h>
+#include <asm/arch/ddr3.h>
#include <asm/arch/hardware.h>
#include <asm/arch/clock.h>
#include <asm/io.h>
@@ -63,7 +64,7 @@ static struct pll_init_data pll_config[] = {
int dram_init(void)
{
- init_ddr3();
+ ddr3_init();
gd->ram_size = get_ram_size((long *)CONFIG_SYS_SDRAM_BASE,
CONFIG_MAX_RAM_BANK_SIZE);
OpenPOWER on IntegriCloud