[U-Boot] [PATCH] README: document the requirements for CONFIG_SYS_HZ

Stephen Warren swarren at wwwdotorg.org
Fri Mar 22 04:41:32 CET 2013


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

Signed-off-by: Stephen Warren <swarren at 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



More information about the U-Boot mailing list