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
AVR32: Make SDRAM refresh rate configurable
[platform/kernel/u-boot.git]
/
include
/
asm-avr32
/
arch-at32ap700x
/
clk.h
diff --git
a/include/asm-avr32/arch-at32ap700x/clk.h
b/include/asm-avr32/arch-at32ap700x/clk.h
index
ea84c08
..
385319a
100644
(file)
--- a/
include/asm-avr32/arch-at32ap700x/clk.h
+++ b/
include/asm-avr32/arch-at32ap700x/clk.h
@@
-75,4
+75,7
@@
static inline unsigned long get_mci_clk_rate(void)
}
#endif
+/* Board code may need the SDRAM base clock as a compile-time constant */
+#define SDRAMC_BUS_HZ (MAIN_CLK_RATE >> CFG_CLKDIV_HSB)
+
#endif /* __ASM_AVR32_ARCH_CLK_H__ */