public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] README: document the requirements for CONFIG_SYS_HZ
@ 2013-03-22  3:41 Stephen Warren
  2013-03-22 21:12 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Warren @ 2013-03-22  3:41 UTC (permalink / raw)
  To: u-boot

CONFIG_SYS_HZ must be 1000, and get_timer() must therefore return mS.
Document this.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
---
 README |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/README b/README
index 7f2506a..1871ada 100644
--- a/README
+++ b/README
@@ -495,6 +495,12 @@ The following options need to be configured:
 		exists, unlike the similar options in the Linux kernel. Do not
 		set these options unless they apply!
 
+- CPU timer options:
+		CONFIG_SYS_HZ
+
+		The frequency of the timer returned by get_timer(). This value
+		MUST be 1000.
+
 - Linux Kernel Interface:
 		CONFIG_CLOCKS_IN_MHZ
 
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-27 20:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-22  3:41 [U-Boot] [PATCH] README: document the requirements for CONFIG_SYS_HZ Stephen Warren
2013-03-22 21:12 ` Wolfgang Denk
2013-03-22 21:18   ` Stephen Warren
2013-03-22 21:41     ` Wolfgang Denk
2013-03-27 20:01       ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox