From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 2 Apr 2009 21:06:16 +0200 Subject: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000 In-Reply-To: <49D50DDC.2000001@free.fr> References: <1235527085-23900-1-git-send-email-dv@vollmann.ch> <49D50DDC.2000001@free.fr> Message-ID: <20090402190616.GJ2651@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 21:11 Thu 02 Apr , Eric BENARD wrote: > Hi Detlef, > > Detlef Vollmann a ?crit : > > Change at91 CPUs based on arm926ejs to return milliseconds > > from get_timer and get_ticks. Also changes in the value of > > CONFIG_SYS_HZ to 1000 in all board configs using these CPUs. > > This will not compile on boards using these CPUs with a > > different value for CONFIG_SYS_HZ. > > > > > I confirm that this patch is fixing timeout problems with tftp downloads > on a SAM9260. > What is blocking from pushing it mainline ? see response e-mail and please note that the current patch is not supposed to work because AT91C_MAIN_CLOCK does not exist and it assusme that the main_clock will be at 100000000 which is not the case everytime as example on 9G20 it's not I've send a new patch that introduce an improve of the clock on at91 which give you the calculated main_clock based on the main crystal and the lowlevel settings Best Regards, J.