ARCv2: IOC: Use actual memory size to setup aperture size
authorVineet Gupta <vgupta@synopsys.com>
Wed, 18 Jan 2017 20:59:21 +0000 (12:59 -0800)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 18 Jan 2017 22:52:43 +0000 (14:52 -0800)
commite497c8e52a83ebb5309ab41c8851c9cb53f28b73
tree09224d6a1274b9c74ebd8845486af8dd6e39b113
parent8c47f83ba45928ce9495fcf1b29e828c28e3c839
ARCv2: IOC: Use actual memory size to setup aperture size

vs. fixed 512M before.

But this still assumes that all of memory is under IOC which may not be
true for the SoC. Improve that later when this becomes a real issue, by
specifying this from DT.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/setup.h
arch/arc/mm/cache.c
arch/arc/mm/init.c