summaryrefslogtreecommitdiff
path: root/board/atmel/atstk1000/atstk1000.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-02-15 00:14:36 +0100
committerWolfgang Denk <wd@denx.de>2008-02-15 00:14:36 +0100
commitedc886fc3d63c20a9becb2f4793ea18a06a5b18d (patch)
treea2f51423debed2d8c91ca12c02a04df46b9ed226 /board/atmel/atstk1000/atstk1000.c
parent43157747fee69d1fdcfbbc6003453901d723bbc5 (diff)
parent92915741fc7c77175680e036965fb88d7552d743 (diff)
Merge ../custodians
Diffstat (limited to 'board/atmel/atstk1000/atstk1000.c')
-rw-r--r--board/atmel/atstk1000/atstk1000.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/atmel/atstk1000/atstk1000.c b/board/atmel/atstk1000/atstk1000.c
index 6618963cc0..28f64c4a6f 100644
--- a/board/atmel/atstk1000/atstk1000.c
+++ b/board/atmel/atstk1000/atstk1000.c
@@ -23,6 +23,7 @@
#include <asm/io.h>
#include <asm/sdram.h>
+#include <asm/arch/clk.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,
+ /* 15.6 us */
+ .refresh_period = (156 * (SDRAMC_BUS_HZ / 1000)) / 10000,
};
int board_early_init_f(void)