]> Git Repo - u-boot.git/commit
powerpc: mpc8xx: redistribute data in CPM dpram
authorChristophe Leroy <[email protected]>
Fri, 16 Mar 2018 16:20:45 +0000 (17:20 +0100)
committerTom Rini <[email protected]>
Fri, 6 Apr 2018 20:30:37 +0000 (16:30 -0400)
commitb1d62424cb83f2b96337deec1cf9dcbe19a45b95
tree31613780498e57e6aa4dbe9da4a8eb0ab8074d8f
parent18f8d4c60d26e6cd113461c5d716c64897c3f112
powerpc: mpc8xx: redistribute data in CPM dpram

Some malloc memory is needed at startup for DM model.
Lets reorganise the use of the CPM dpram.

The MPC866/885 dpram, we have 8kbytes dual port RAM, which is usable as:
IMMR + 0x2000..0x2800: BD/Data/Microcode
IMMR + 0x2800..0x2e00: BD/Data
IMMR + 0x2e00..0x3800: BD/Data/Microcode
IMMR + 0x3800..0x3a00: BD/Data
IMMR + 0x3a00..0x3c00: BD/Data/Microcode
IMMR + 0x3c00..0x4000: Parameters for the Peripheral Controllers

Lets reallocate all BDs in the 3800..3a00 area and give the full
2800..2e00 for dynamic RAM allocation including global data

That way, the microcode areas remain available if needed one day.

Signed-off-by: Christophe Leroy <[email protected]>
arch/powerpc/include/asm/cpm_8xx.h
This page took 0.036063 seconds and 4 git commands to generate.