Skip to contentSkip to conversation

command for handling DDR ECC registers on MPC8349EE MDS board

U-Boot-Users Ed Swarthout 2 participants 2 messages Apr 1, 2006

lore
Share & tools
lore
#0 lore raw

Since this DDR memory controller is a feature of the SoC platform which is common to a few cpu's and many boards, what is the preferred way to add this new command to the other boards which could take advantage of it?

The list of boards include at least:
mpc8540ads, mpc8560ads, cds/mpc8541cds, cds/mpc8555cds, and cds/mpc8548cds.

Thanks,
-EdS

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

Since this DDR memory controller is a feature of the SoC platform which is common to a few cpu's and many boards, what is the preferred way to add this new command to the other boards which could take advantage of it?

As usual: try to adapt it to a board so you can see which parts of it are common, and which are board-specific. Then split the code, moving clearly common stuff to the cpu/mpc83xx/ directory.

Quoted 2 lines

The list of boards include at least:
mpc8540ads, mpc8560ads, cds/mpc8541cds, cds/mpc8555cds, and cds/mpc8548cds.

Be careful, though. MPC834x is not MPC85xx. I suggest you first try it out on a 85xx board.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Emotions are alien to me.  I'm a scientist.
	-- Spock, "This Side of Paradise", stardate 3417.3