From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] config: consolidate CONFIG_SYS_HZ definition
Date: Thu, 19 Sep 2013 15:06:22 -0400 [thread overview]
Message-ID: <20130919190622.GA5273@bill-the-cat> (raw)
In-Reply-To: <20130909154146.532CB380E12@gemini.denx.de>
On Mon, Sep 09, 2013 at 05:41:46PM +0200, Wolfgang Denk wrote:
> Dear Rob,
>
> In message <522DE2FF.2080001@gmail.com> you wrote:
> >
> > What do I do with current boards that are wrong? I should make all these
>
> Good question...
>
> > boards have build errors or fix them to use 1000 which may break them at
> > runtime depending on their possible misuse of CONFIG_SYS_HZ?
> >
> > include/configs/KAREF.h:#define CONFIG_SYS_HZ 100
> > /* decr freq: 1 ms ticks */
> > include/configs/M5271EVB.h:#define CONFIG_SYS_HZ
> > 1000000
> > include/configs/METROBOX.h:#define CONFIG_SYS_HZ
> > 100 /* decr freq: 1 ms ticks */
> > include/configs/MVBLUE.h:#define CONFIG_SYS_HZ 10000
> > include/configs/idmr.h:#define CONFIG_SYS_HZ
> > (50000000 / 64)
> > include/configs/mini2440.h:#define CONFIG_SYS_HZ
> > 1562500
> > include/configs/mx1ads.h:#define CONFIG_SYS_HZ 3686400
> > include/configs/omap3_zoom2.h:#define CONFIG_SYS_HZ
> > ((V_SCLK) / (2 << CONFIG_SYS_PTV))
> > include/configs/omap730p2.h:#define CONFIG_SYS_HZ
> > ((CONFIG_SYS_CLK_FREQ)/(2 << CONFIG_SYS_PTV))
> > include/configs/rsk7203.h:#define CONFIG_SYS_HZ
> > (CONFIG_SYS_CLK_FREQ / CMT_CLK_DIVIDER)
> > include/configs/rsk7264.h:#define CONFIG_SYS_HZ
> > (CONFIG_SYS_CLK_FREQ / CMT_CLK_DIVIDER)
> > include/configs/rsk7269.h:#define CONFIG_SYS_HZ
> > (CONFIG_SYS_CLK_FREQ / CMT_CLK_DIVIDER)
> > include/configs/scb9328.h:#define CONFIG_SYS_HZ 3686400
> > /* incrementer freq: 3.6864 MHz */
> > include/configs/versatile.h:#define CONFIG_SYS_HZ
> > (1000000 / 256)
>
> Hm... which of these boards are actually still being maintained?
>
> KAREF and METROBOX are PPC systems, and the comment suggests that the
> value is actually just a typo. Here it should be harmless to change
> this to use 1000 Hz instead. Ditto probably for MVBLUE. The rest
> might actually be dead?
>
> Guess we should have their builds break and make the board maintainers
> fix them. If they don't (because the boards are unmaintained), we
> will drop the board code from the repo.
Actually breaking them will cause hell on the folks building everything.
Lets correct the ones we can correct easily and poke maintainers for the
rest so we know what we can/should move to orphaned or just drop.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130919/17f26ac2/attachment.pgp>
next prev parent reply other threads:[~2013-09-19 19:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-08 19:54 [U-Boot] [PATCH] config: consolidate CONFIG_SYS_HZ definition Rob Herring
2013-09-09 14:06 ` Wolfgang Denk
2013-09-09 15:02 ` Rob Herring
2013-09-09 15:41 ` Wolfgang Denk
2013-09-19 19:06 ` Tom Rini [this message]
2013-09-19 21:02 ` Rob Herring
2013-09-19 22:13 ` Tom Rini
2013-09-21 20:03 ` [U-Boot] [PATCH v2] " Rob Herring
2013-10-04 13:40 ` [U-Boot] [PATCH v3 0/3] Consolidate " Rob Herring
2013-10-04 13:40 ` [U-Boot] [PATCH v3 1/3] config: consolidate " Rob Herring
2013-10-04 13:40 ` [U-Boot] [PATCH v3 2/3] config: remove platform CONFIG_SYS_HZ definition part 1/2 Rob Herring
2013-10-04 13:40 ` [U-Boot] [PATCH v3 3/3] config: remove platform CONFIG_SYS_HZ definition part 2/2 Rob Herring
2013-11-04 21:31 ` [U-Boot] [PATCH v3 0/3] Consolidate CONFIG_SYS_HZ definition Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130919190622.GA5273@bill-the-cat \
--to=trini@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox