ppc: mpc85xx: fix memory size calculation
Fix the chip select configuration register offset increment and summing
of bank size so that, for chip select index greater than 0, barebox can
determine the total memory size from enabled banks.

Signed-off-by: Renaud Barbier <renaud.barbier@ge.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9bdef9e commit 3df00bd62dc7534aea831ca6b417388728b3383d
@Renaud Barbier Renaud Barbier authored on 13 Feb 2014
Sascha Hauer committed on 14 Feb 2014
Showing 1 changed file
View
arch/ppc/mach-mpc85xx/cpu.c