diff options
author | Wolfgang Denk <wd@denx.de> | 2008-02-15 00:14:26 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-02-15 00:14:26 +0100 |
commit | 92915741fc7c77175680e036965fb88d7552d743 (patch) | |
tree | ea4fd23ae70a1e9f444582cf98529dc21358e612 /board/atmel/atngw100/atngw100.c | |
parent | d9da0a394a141cf188d646dd89e30c083526ce77 (diff) | |
parent | d38da537943cd36356b9d3d9d9b60533554b81d8 (diff) | |
download | u-boot-imx-92915741fc7c77175680e036965fb88d7552d743.zip u-boot-imx-92915741fc7c77175680e036965fb88d7552d743.tar.gz u-boot-imx-92915741fc7c77175680e036965fb88d7552d743.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-avr32
Diffstat (limited to 'board/atmel/atngw100/atngw100.c')
-rw-r--r-- | board/atmel/atngw100/atngw100.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/atmel/atngw100/atngw100.c b/board/atmel/atngw100/atngw100.c index bd4b6b4..1ccbe2c 100644 --- 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/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, + /* 7.81 us */ + .refresh_period = (781 * (SDRAMC_BUS_HZ / 1000)) / 100000, }; int board_early_init_f(void) |