projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.denx.de/u-boot-samsung
[platform/kernel/u-boot.git]
/
board
/
freescale
/
ls1043aqds
/
ddr.c
diff --git
a/board/freescale/ls1043aqds/ddr.c
b/board/freescale/ls1043aqds/ddr.c
index
db350e2
..
f219a77
100644
(file)
--- a/
board/freescale/ls1043aqds/ddr.c
+++ b/
board/freescale/ls1043aqds/ddr.c
@@
-10,6
+10,7
@@
#ifdef CONFIG_FSL_DEEP_SLEEP
#include <fsl_sleep.h>
#endif
#ifdef CONFIG_FSL_DEEP_SLEEP
#include <fsl_sleep.h>
#endif
+#include <asm/arch/clock.h>
#include "ddr.h"
DECLARE_GLOBAL_DATA_PTR;
#include "ddr.h"
DECLARE_GLOBAL_DATA_PTR;
@@
-108,12
+109,14
@@
found:
#endif
}
#endif
}
-int initdram(void)
+int
fsl_
initdram(void)
{
phys_size_t dram_size;
#if defined(CONFIG_SPL) && !defined(CONFIG_SPL_BUILD)
{
phys_size_t dram_size;
#if defined(CONFIG_SPL) && !defined(CONFIG_SPL_BUILD)
- return fsl_ddr_sdram_size();
+ gd->ram_size = fsl_ddr_sdram_size();
+
+ return 0;
#else
puts("Initializing DDR....using SPD\n");
#else
puts("Initializing DDR....using SPD\n");