From: Tom Rini Date: Fri, 6 Apr 2018 17:03:14 -0400 Subject: [U-Boot] [U-Boot, v4, 08/16] powerpc: mpc8xx: redistribute data in CPM dpram In-Reply-To: <78576e00b1d7ce9a5ace74015b0dd6a5590f06c1.1521215903.git.christophe.leroy@c-s.fr> References: <78576e00b1d7ce9a5ace74015b0dd6a5590f06c1.1521215903.git.christophe.leroy@c-s.fr> Message-ID: <20180406210314.GW19725@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Mar 16, 2018 at 05:20:45PM +0100, Christophe Leroy wrote: > 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: