public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Commit 2108f4c4 causes a warning in 10 ARM boards
@ 2013-11-09  9:49 Albert ARIBAUD
  2013-11-09 12:18 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Albert ARIBAUD @ 2013-11-09  9:49 UTC (permalink / raw)
  To: u-boot

Hi Rob,

Commit 2108f4c4 ("config: consolidate CONFIG_SYS_HZ definition") causes
the following boards:

	omap730p2_cs3boot omap730p2_cs0boot scb9328 palmtc balloon3
	mini2440 zipitz2 palmld omap730p2 omap3_zoom2 mx1ads

to emit this warning:

	time.c:12:2: warning: #warning "CONFIG_SYS_HZ must be 1000 and
	should not be defined by platforms" [-Wcpp]

Rob, can you look into it?

Tom: I am preparing a PR from ARM to u-boot; ARM build will obviously
fail for these 10 boards unless a fix is applied to u-boot/master before
I submit my PR.

Amicalement,
-- 
Albert.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Commit 2108f4c4 causes a warning in 10 ARM boards
  2013-11-09  9:49 [U-Boot] Commit 2108f4c4 causes a warning in 10 ARM boards Albert ARIBAUD
@ 2013-11-09 12:18 ` Tom Rini
  2013-11-09 12:55   ` Albert ARIBAUD
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2013-11-09 12:18 UTC (permalink / raw)
  To: u-boot

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/09/2013 04:49 AM, Albert ARIBAUD wrote:
> Hi Rob,
> 
> Commit 2108f4c4 ("config: consolidate CONFIG_SYS_HZ definition") causes
> the following boards:
> 
> 	omap730p2_cs3boot omap730p2_cs0boot scb9328 palmtc balloon3
> 	mini2440 zipitz2 palmld omap730p2 omap3_zoom2 mx1ads
> 
> to emit this warning:
> 
> 	time.c:12:2: warning: #warning "CONFIG_SYS_HZ must be 1000 and
> 	should not be defined by platforms" [-Wcpp]
> 
> Rob, can you look into it?
> 
> Tom: I am preparing a PR from ARM to u-boot; ARM build will obviously
> fail for these 10 boards unless a fix is applied to u-boot/master before
> I submit my PR.

This is intentional, as those boards have CONFIG_SYS_HZ wrong.  For the
PXA boards, Marek posted a patch that fixes them.  For omap730p2* I plan
to submit a patch to just yank them out.  For the others, we need to
find the board maintainer and get them to correct things, or pull them
as well.

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSfigPAAoJENk4IS6UOR1WHHcP/Rrk0EF1wuEm8/pQAc1foJQk
GWjVxXAZbz8UAKXLxroKUQlEzHyQZNc1kl3pBVF1txm9RaqAQsLNWu6Nro4lmPbE
DQVX0/0Elkdq2ZXpW2yw58VwS2IzFvfmw4cx0NkHsRTWLtZ4ZnkTEPoYB4GMY/dJ
LzuIw39OI1WhsbZDGvcbI+gT84ytymnahIFO48sd9+CA0UBJPbS8kjAJxKAIY1NK
Dnj3JBIp85pANE8BbNf4ZVLt/1AJqAdI8NE3AABhCsQQUFi6bHVqRCrlb2ln9pdG
IjvFTYCoQuYoo11XpPImfYEVYWSKLwwDctD6t2YV9qoZNz5KYqR5hNvlsgGIxR30
NHocVoOaAku0XgAXRpIzGqx+lV2dHSY0mgo8C/iY9cJsXe6CmLv8vFPs6K2L2AD8
TC/J0MVdx3x0fgVb1/dnt9ssLqcSGs3ohqnHopzuJlqau2lMJ8jRiwaGo8u9zoJQ
12ZdWkPeRo4varMUC7a5R0ZQ87v5MrXxZaupqvqRg7usndQnhnNmvUoJVwYPjVmB
DGqVBxQuOEkqHqoSJK3eCzo2E5+FBmumGgv53padIpTBhvVQuWZGjhhJRqakl1Yy
sHMi3hdfz99oFvaYm7rgDwxSAarm1jq37Q1VveUmf7Zc1YRVDxITb9F9P6IVApdU
la1SwdmHInTUzt5cjIWv
=/6uD
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Commit 2108f4c4 causes a warning in 10 ARM boards
  2013-11-09 12:18 ` Tom Rini
@ 2013-11-09 12:55   ` Albert ARIBAUD
  0 siblings, 0 replies; 3+ messages in thread
From: Albert ARIBAUD @ 2013-11-09 12:55 UTC (permalink / raw)
  To: u-boot

Hi Tom,

On Sat, 9 Nov 2013 07:18:23 -0500, Tom Rini <trini@ti.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 11/09/2013 04:49 AM, Albert ARIBAUD wrote:
> > Hi Rob,
> > 
> > Commit 2108f4c4 ("config: consolidate CONFIG_SYS_HZ definition") causes
> > the following boards:
> > 
> > 	omap730p2_cs3boot omap730p2_cs0boot scb9328 palmtc balloon3
> > 	mini2440 zipitz2 palmld omap730p2 omap3_zoom2 mx1ads
> > 
> > to emit this warning:
> > 
> > 	time.c:12:2: warning: #warning "CONFIG_SYS_HZ must be 1000 and
> > 	should not be defined by platforms" [-Wcpp]
> > 
> > Rob, can you look into it?
> > 
> > Tom: I am preparing a PR from ARM to u-boot; ARM build will obviously
> > fail for these 10 boards unless a fix is applied to u-boot/master before
> > I submit my PR.
> 
> This is intentional, as those boards have CONFIG_SYS_HZ wrong.  For the
> PXA boards, Marek posted a patch that fixes them.  For omap730p2* I plan
> to submit a patch to just yank them out.  For the others, we need to
> find the board maintainer and get them to correct things, or pull them
> as well.

OK -- sorry for the noise, then.

Amicalement,
-- 
Albert.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-09 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-09  9:49 [U-Boot] Commit 2108f4c4 causes a warning in 10 ARM boards Albert ARIBAUD
2013-11-09 12:18 ` Tom Rini
2013-11-09 12:55   ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox