All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] MPC5200: Moving SDRAM init out of board scope
@ 2004-06-28 12:59 Jonas Mark-r50740
  2004-06-28 14:05 ` Stephan Linz
  0 siblings, 1 reply; 3+ messages in thread
From: Jonas Mark-r50740 @ 2004-06-28 12:59 UTC (permalink / raw)
  To: u-boot

Hello,

I am currently porting U-Boot to a new MPC5200 platform (Total5200). To reduce code duplication I would like to move the Lite5200 / IceCube SDRAM initialization (sdram_start() and initdram()) from board/icecube/icecube.c to cpu/mpc5xxx/sdram.c. So two platforms would use the same code base.

Any objections?

It seems that at least the maintainer of the PM520 board could change his code rather quickly to use this scheme as well.

Regards
Mark

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

* [U-Boot-Users] MPC5200: Moving SDRAM init out of board scope
  2004-06-28 12:59 [U-Boot-Users] MPC5200: Moving SDRAM init out of board scope Jonas Mark-r50740
@ 2004-06-28 14:05 ` Stephan Linz
  2004-06-28 14:13   ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Stephan Linz @ 2004-06-28 14:05 UTC (permalink / raw)
  To: u-boot

Am Montag, 28. Juni 2004 14:59 schrieb Jonas Mark-r50740:
> Hello,
>
> I am currently porting U-Boot to a new MPC5200 platform (Total5200). To
> reduce code duplication I would like to move the Lite5200 / IceCube SDRAM
> initialization (sdram_start() and initdram()) from board/icecube/icecube.c
> to cpu/mpc5xxx/sdram.c. So two platforms would use the same code base.
>
> Any objections?

Sounds good to me. We plan to build our own MPC5200 board based on 
IceCube/Lite5200 in the near future and we'll run U-Boot on it. So it will be 
the third board.

Wolfgang, what's your mind?


Best Regards,
Stephan Linz

>
> It seems that at least the maintainer of the PM520 board could change his
> code rather quickly to use this scheme as well.
>
> Regards
> Mark
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users

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

* [U-Boot-Users] MPC5200: Moving SDRAM init out of board scope
  2004-06-28 14:05 ` Stephan Linz
@ 2004-06-28 14:13   ` Wolfgang Denk
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2004-06-28 14:13 UTC (permalink / raw)
  To: u-boot

In message <0406281605190Q.02269@pcj86> you wrote:
>
> > I am currently porting U-Boot to a new MPC5200 platform (Total5200). To
> > reduce code duplication I would like to move the Lite5200 / IceCube SDRAM
> > initialization (sdram_start() and initdram()) from board/icecube/icecube.c
> > to cpu/mpc5xxx/sdram.c. So two platforms would use the same code base.
> >
> > Any objections?

If it doesn't break existing board support (IceCube, PM520,  TOP5200)
this is OK with me.

> Sounds good to me. We plan to build our own MPC5200 board based on 
> IceCube/Lite5200 in the near future and we'll run U-Boot on it. So it will be 
> the third board.
> 
> Wolfgang, what's your mind?

Agreed.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The inappropriate cannot be beautiful.
             - Frank Lloyd Wright _The Future of Architecture_ (1953)

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

end of thread, other threads:[~2004-06-28 14:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-28 12:59 [U-Boot-Users] MPC5200: Moving SDRAM init out of board scope Jonas Mark-r50740
2004-06-28 14:05 ` Stephan Linz
2004-06-28 14:13   ` 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.