projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '070524_netstar' of git://linux-arm.org/u-boot-armdev
[oweals/u-boot.git]
/
board
/
atmel
/
atngw100
/
atngw100.c
diff --git
a/board/atmel/atngw100/atngw100.c
b/board/atmel/atngw100/atngw100.c
index bd4b6b4ce5b8cabc90dbc5b8a635b74d70de7157..1ccbe2c181752c08e5cb02d671e6b3a5dad72916 100644
(file)
--- a/
board/atmel/atngw100/atngw100.c
+++ b/
board/atmel/atngw100/atngw100.c
@@
-23,6
+23,7
@@
#include <asm/io.h>
#include <asm/sdram.h>
#include <asm/io.h>
#include <asm/sdram.h>
+#include <asm/arch/clk.h>
#include <asm/arch/gpio.h>
#include <asm/arch/hmatrix2.h>
#include <asm/arch/gpio.h>
#include <asm/arch/hmatrix2.h>
@@
-40,6
+41,8
@@
static const struct sdram_info sdram = {
.trcd = 2,
.tras = 5,
.txsr = 5,
.trcd = 2,
.tras = 5,
.txsr = 5,
+ /* 7.81 us */
+ .refresh_period = (781 * (SDRAMC_BUS_HZ / 1000)) / 100000,
};
int board_early_init_f(void)
};
int board_early_init_f(void)