All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] config.mk: Remove $(PCI_CLOCK) reference
@ 2009-06-20 10:10 Shinya Kuribayashi
  2009-07-14 21:17 ` Kim Phillips
  2009-07-17 19:37 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: Shinya Kuribayashi @ 2009-06-20 10:10 UTC (permalink / raw)
  To: u-boot

The following commit introduced $(PCI_CLOCK) reference so that
we could tweak `PCI_66M' definition via an environment variable.

> commit f046ccd15c8bc9613bfd72916b761a127d36e5c6
> Author: Eran Liberty <liberty@freescale.com>
> Date:   Thu Jul 28 10:08:46 2005 -0500
>
>     * Patch by Eran Liberty
>       Add support for the Freescale MPC8349ADS board.

But I suggest a removal of it for the following reasons:

* In 2006, MPC8349ADS was merged into MPC8349EMDS port,
  and it seems that MPC8349EMDS port is PCI_66M free.

* OTOH, PCI_66M is used by MPC832XEMDS an MPC8360EMDS ports,
  but they don't need $(PCI_CLOCK) environment variable at all.
  PCI_66M is automatically configured via $(BOARD)_config names
  with the help of $(findstring _66_,$@).

* Unfortunately $(PCI_CLOCK) has been undocumented anywhere,
  so only a few people know the existence of it these days.

* Keep config.mk independent from $(BOARD) as much as possible.

Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
---
 config.mk |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/config.mk b/config.mk
index 7fc0453..f2c2c6c 100644
--- a/config.mk
+++ b/config.mk
@@ -194,10 +194,6 @@ BFD_ROOT_DIR =		/opt/powerpc
 endif
 endif
 
-ifeq ($(PCI_CLOCK),PCI_66M)
-CFLAGS := $(CFLAGS) -DPCI_66M
-endif
-
 #########################################################################
 
 export	HPATH HOSTCC HOSTCFLAGS CROSS_COMPILE \

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

* [U-Boot] [PATCH] config.mk: Remove $(PCI_CLOCK) reference
  2009-06-20 10:10 [U-Boot] [PATCH] config.mk: Remove $(PCI_CLOCK) reference Shinya Kuribayashi
@ 2009-07-14 21:17 ` Kim Phillips
  2009-07-17 19:37 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Kim Phillips @ 2009-07-14 21:17 UTC (permalink / raw)
  To: u-boot

On Sat, 20 Jun 2009 19:10:14 +0900
Shinya Kuribayashi <skuribay@pobox.com> wrote:

> The following commit introduced $(PCI_CLOCK) reference so that
> we could tweak `PCI_66M' definition via an environment variable.
> 
> > commit f046ccd15c8bc9613bfd72916b761a127d36e5c6
> > Author: Eran Liberty <liberty@freescale.com>
> > Date:   Thu Jul 28 10:08:46 2005 -0500
> >
> >     * Patch by Eran Liberty
> >       Add support for the Freescale MPC8349ADS board.
> 
> But I suggest a removal of it for the following reasons:
> 
> * In 2006, MPC8349ADS was merged into MPC8349EMDS port,
>   and it seems that MPC8349EMDS port is PCI_66M free.
> 
> * OTOH, PCI_66M is used by MPC832XEMDS an MPC8360EMDS ports,
>   but they don't need $(PCI_CLOCK) environment variable at all.
>   PCI_66M is automatically configured via $(BOARD)_config names
>   with the help of $(findstring _66_,$@).
> 
> * Unfortunately $(PCI_CLOCK) has been undocumented anywhere,
>   so only a few people know the existence of it these days.
> 
> * Keep config.mk independent from $(BOARD) as much as possible.
> 
> Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
> ---
>  config.mk |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)
> 
> diff --git a/config.mk b/config.mk
> index 7fc0453..f2c2c6c 100644
> --- a/config.mk
> +++ b/config.mk
> @@ -194,10 +194,6 @@ BFD_ROOT_DIR =		/opt/powerpc
>  endif
>  endif
>  
> -ifeq ($(PCI_CLOCK),PCI_66M)
> -CFLAGS := $(CFLAGS) -DPCI_66M
> -endif

it's all true..

$ git grep PCI_CLOCK
board/xilinx/ml300/xparameters.h:#define XPAR_XPCI_CLOCK_HZ 33333333

Acked-by: Kim Phillips <kim.phillips@freescale.com>

Kim

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

* [U-Boot] [PATCH] config.mk: Remove $(PCI_CLOCK) reference
  2009-06-20 10:10 [U-Boot] [PATCH] config.mk: Remove $(PCI_CLOCK) reference Shinya Kuribayashi
  2009-07-14 21:17 ` Kim Phillips
@ 2009-07-17 19:37 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2009-07-17 19:37 UTC (permalink / raw)
  To: u-boot

Dear Shinya Kuribayashi,

In message <4A3CB586.1010103@pobox.com> you wrote:
> The following commit introduced $(PCI_CLOCK) reference so that
> we could tweak `PCI_66M' definition via an environment variable.
> 
> > commit f046ccd15c8bc9613bfd72916b761a127d36e5c6
> > Author: Eran Liberty <liberty@freescale.com>
> > Date:   Thu Jul 28 10:08:46 2005 -0500
> >
> >     * Patch by Eran Liberty
> >       Add support for the Freescale MPC8349ADS board.
> 
> But I suggest a removal of it for the following reasons:
> 
> * In 2006, MPC8349ADS was merged into MPC8349EMDS port,
>   and it seems that MPC8349EMDS port is PCI_66M free.
> 
> * OTOH, PCI_66M is used by MPC832XEMDS an MPC8360EMDS ports,
>   but they don't need $(PCI_CLOCK) environment variable at all.
>   PCI_66M is automatically configured via $(BOARD)_config names
>   with the help of $(findstring _66_,$@).
> 
> * Unfortunately $(PCI_CLOCK) has been undocumented anywhere,
>   so only a few people know the existence of it these days.
> 
> * Keep config.mk independent from $(BOARD) as much as possible.
> 
> Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
> ---
>  config.mk |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Killing is stupid; useless!
	-- McCoy, "A Private Little War", stardate 4211.8

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

end of thread, other threads:[~2009-07-17 19:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-20 10:10 [U-Boot] [PATCH] config.mk: Remove $(PCI_CLOCK) reference Shinya Kuribayashi
2009-07-14 21:17 ` Kim Phillips
2009-07-17 19:37 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.