From: Wolfgang Denk Date: Sat, 03 Nov 2012 16:24:37 +0100 Subject: [U-Boot] [PATCH 02/17] Add gettime command In-Reply-To: <1351902453-27956-3-git-send-email-sjg@chromium.org> References: <1351902453-27956-1-git-send-email-sjg@chromium.org> <1351902453-27956-3-git-send-email-sjg@chromium.org> Message-ID: <20121103152437.83AC6200255@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon Glass, In message <1351902453-27956-3-git-send-email-sjg@chromium.org> you wrote: > From: Anton Staaf > > Gettime returns the current timer value. If CONFIG_SYS_HZ is defined > then the timer value is also converted to seconds. > > Tegra20 (SeaBoard) # gettime > Timer val: 7754 > Seconds : 7 > Remainder : 754 > sys_hz = 1000 What exactly is this good for? Also, are there any boards where CONFIG_SYS_HZ is NOT set? [Which are these?] Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Earth -- mother of the most beautiful women in the universe. -- Apollo, "Who Mourns for Adonais?" stardate 3468.1