[U-Boot-Users] MPC5200: Moving SDRAM init out of board scope

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

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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users

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
participants (3)
-
Jonas Mark-r50740
-
Stephan Linz
-
Wolfgang Denk