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 there

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

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 looking for

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 when these

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 interesting to loose

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-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 I only

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 != 1000)

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 use U-Boot on that

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