ARM: mvebu: fix size mask for RAM window
The size field in the window control register occupies bits 31:16. So
adapt ARMADA_370_XP_DDR_SIZE_MASK accordingly. This fixes detection of
RAM chips smaller than 32 MiB and so probably doesn't affect any
supported machine.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 52daa4a commit 7351b6b5c59c7a280787998006f39a5cd3a2f18b
@Uwe Kleine-König Uwe Kleine-König authored on 12 Jun 2017
Sascha Hauer committed on 13 Jun 2017
Showing 1 changed file
View
arch/arm/mach-mvebu/common.c