Skip to contentSkip to conversation

README: document the requirements for CONFIG_SYS_HZ

PATCH New Stephen Warren 2 participants 2 messages Mar 28, 2013 – Apr 3, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 README: document the requirements for CONFIG_SYS_HZ

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

README text provided by Tom Rini.

---
v2: Reworded the README text.

---
 README |    7 +++++++
 1 file changed, 7 insertions(+)
README +7 -0
index 7f2506a..efb8cc6 100644
@@ -495,6 +495,13 @@ 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().
+		get_timer() must operate in milliseconds and this CONFIG
+		option must be set to 1000.
+
 - Linux Kernel Interface:
 		CONFIG_CLOCKS_IN_MHZ
 
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH v2 1/1 README: document the requirements for CONFIG_SYS_HZ

Quoted 6 lines · Stephen Warren

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

README text provided by Tom Rini.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130403/9de4db77/attachment.pgp>