Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-04-03 Thread Detlef Vollmann
Eric BENARD wrote: > Detlef Vollmann a écrit : >> I probably agree. (Well, not completely, as I'd like to get rid >> of at91bootstrap completely and let U-Boot be the original boot >> code, but that's future.) >> > check Ilko Iliev's patch for pm9263 which integrates at91bootstrap's > features in

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-04-03 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:46 Fri 03 Apr , Detlef Vollmann wrote: > Jean-Christophe PLAGNIOL-VILLARD wrote: >> On 15:20 Fri 03 Apr , Eric BENARD wrote: >>> Detlef Vollmann a écrit : Where can I find that patch? >>> http://article.gmane.org/gmane.comp.boot-loaders.u-boot/56837 > Thanks. > >>> Is it int

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-04-03 Thread Detlef Vollmann
Jean-Christophe PLAGNIOL-VILLARD wrote: > On 15:20 Fri 03 Apr , Eric BENARD wrote: >> Detlef Vollmann a écrit : >>> Where can I find that patch? >>> >> http://article.gmane.org/gmane.comp.boot-loaders.u-boot/56837 Thanks. >> Is it interesting to loose time calculating PLL values at each boot w

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-04-03 Thread Eric BENARD
Jean-Christophe PLAGNIOL-VILLARD a écrit : > On 15:20 Fri 03 Apr , Eric BENARD wrote: >> Detlef Vollmann a écrit : >>> Jean-Christophe PLAGNIOL-VILLARD wrote: 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 mai

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-04-03 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:20 Fri 03 Apr , Eric BENARD wrote: > Detlef Vollmann a écrit : >> Jean-Christophe PLAGNIOL-VILLARD wrote: >>> 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 >> I was

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-04-03 Thread Eric BENARD
Detlef Vollmann a écrit : > Jean-Christophe PLAGNIOL-VILLARD wrote: >> 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 > I was looking for that patch in git://git.denx.de/u-boot-a

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-04-03 Thread Detlef Vollmann
Jean-Christophe PLAGNIOL-VILLARD wrote: > 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 I was looking for that patch in git://git.denx.de/u-boot-at91.git, but couldn't find it the

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-04-02 Thread Eric BENARD
Hi Jean Christophe, Jean-Christophe PLAGNIOL-VILLARD a écrit : > On 21:11 Thu 02 Apr , Eric BENARD wrote: >> 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

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-04-02 Thread Jean-Christophe PLAGNIOL-VILLARD
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

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-04-02 Thread Eric BENARD
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

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-03-13 Thread Sergey Lapin
> > But the config file for afeb9260 sets it to a value of 8598, > > and I can't change that as I don't know that board, but it's > > near enough to 1 to accept that. > > And I noticed that only because I had the check there in the > > first place, so it didn't compile with MAKEALL when

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-03-12 Thread Wolfgang Denk
Dear Detlef Vollmann, In message <49b97998.2080...@vollmann.ch> you wrote: > > >> +#if (CONFIG_SYS_HZ != 1000) > >> +#error "CONFIG_SYS_HZ must be set to 1000 for this CPU" > >> +#endif > > no need please remove > As I already wrote in another message, I don't think so. > All current boards that u

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-03-12 Thread Detlef Vollmann
Jean-Christophe PLAGNIOL-VILLARD wrote: > On 02:58 Wed 25 Feb , Detlef Vollmann wrote: >> /* >> + * This code essentially ignores the settings of AT91_MASTER_CLOCK >> + * and CONFIG_SYS_HZ, so we just bail out if they're not set to >> + * the canonical values. >> + */ >> +#if (CONFIG_SYS_HZ !

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-03-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 02:58 Wed 25 Feb , Detlef Vollmann wrote: > 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 >

[U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-02-24 Thread Detlef Vollmann
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. Signed-off-by: Detlef