From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 5 Sep 2009 19:43:55 +0200 Subject: [U-Boot] [PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards In-Reply-To: <4AA284B9.8030009@fearnside-systems.co.uk> References: <4AA284B9.8030009@fearnside-systems.co.uk> Message-ID: <20090905174355.GD18844@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 16:33 Sat 05 Sep , kevin.morfitt at fearnside-systems.co.uk wrote: > This sets CONFIG_SYS_HZ to 1000 for all boards that use the s3c2400 and > s3c2410 cpu's which fixes various problems such as the timeouts in tftp being > too short. > > Tested on an Embest SBC2440-II Board with local u-boot patches as I don't > have any s3c2400 or s3c2410 boards but need this patch applying before I can > submit patches for the SBC2440-II Board. Also, ran MAKEALL for all ARM9 targets > and no new warnings or errors were found. > > It was originally submitted on 21/06/2009 but didn't get into the 2009.08 > release, and Jean-Pierre made one comment on the original patch (see > http://lists.denx.de/pipermail/u-boot/2009-July/055470.html). I've made two > changes to the original patch: > - it's been re-based to the current release > - I've re-named get_timer_raw() to get_ticks() in response to Jean-Pierre's comment > > This affects the sbc2410, smdk2400, smdk2410 and trab boards. I've copied it > directly to the maintainers of all except the sbc2410 which doesn't have an > entry in MAINTAINERS. > > Signed-off-by: Kevin Morfitt > --- > cpu/arm920t/s3c24x0/timer.c | 36 ++++++++++++++++++++---------------- > include/configs/sbc2410x.h | 4 +--- > include/configs/smdk2400.h | 4 +--- > include/configs/smdk2410.h | 4 +--- > include/configs/trab.h | 12 +----------- > 5 files changed, 24 insertions(+), 36 deletions(-) Need to be test on trab or other but looks fine Best Regards, J.