linux_old1/arch/arm/mach-exynos
Laura Abbott 5a12a597a8 arm: Add devicetree fixup machine function
Commit 1c2f87c225
(ARM: 8025/1: Get rid of meminfo) dropped the upper bound on
the number of memory banks that can be added as there was no
technical need in the kernel. It turns out though, some bootloaders
(specifically the arndale-octa exynos boards) may pass invalid memory
information and rely on the kernel to not parse this data. This is a
bug in the bootloader but we still need to work around this.
Work around this by introducing a dt_fixup function. This function
gets called before the flattened devicetree is scanned for memory
and the like. In this fixup function for exynos, limit the maximum
number of memory regions in the devicetree.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Tested-by: Andreas Färber <afaerber@suse.de>
[glikely: Added a comment and fixed up function name]
Signed-off-by: Grant Likely <grant.likely@linaro.org>
2014-07-29 21:26:49 -06:00
..
include/mach ARM: EXYNOS: Map SYSRAM through generic DT bindings 2014-05-15 03:30:05 +09:00
Kconfig ARM: use menuconfig for sub-arch menus 2014-06-17 17:09:48 +02:00
Makefile ARM: SoC driver changes 2014-06-02 16:35:49 -07:00
Makefile.boot ARM: dts: Add basic dts file for Samsung Trats board 2012-09-21 10:50:27 +09:00
common.h ARM: exynos: move sysram info to exynos.c 2014-06-17 17:09:45 +02:00
exynos-smc.S ARM: EXYNOS: Add support for secure monitor calls 2013-04-09 01:52:06 +09:00
exynos.c arm: Add devicetree fixup machine function 2014-07-29 21:26:49 -06:00
firmware.c ARM: EXYNOS: Update secondary boot addr for secure mode 2014-07-08 08:03:49 +09:00
headsmp.S arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
hotplug.c ARM: EXYNOS: Fix core ID used by platsmp and hotplug code 2014-07-18 17:12:57 -07:00
mcpm-exynos.c ARM: EXYNOS: Don't rely on firmware's secondary_cpu_start for mcpm 2014-06-21 19:30:53 +09:00
mfc.h ARM: SAMSUNG: Reorganize calls to reserve memory for MFC 2014-03-21 02:00:09 +09:00
platsmp.c ARM: EXYNOS: Fix core ID used by platsmp and hotplug code 2014-07-18 17:12:57 -07:00
pm.c ARM: EXYNOS: fix pm code to check for cortex A9 rather than the SoC 2014-06-18 08:08:49 +09:00
pm_domains.c ARM: EXYNOS: Add support for clock handling in power domain 2014-07-11 08:03:19 +09:00
pmu.c ARM: EXYNOS: Remove unnecessary inclusion of cpu.h 2014-05-26 04:05:00 +09:00
regs-pmu.h ARM: EXYNOS: Move S5P_CHECK_SLEEP into pm.c 2014-05-26 05:21:08 +09:00
sleep.S ARM: l2c: exynos: convert to common l2c310 early resume functionality 2014-05-30 00:49:12 +01:00
smc.h ARM: EXYNOS: Add support for secure monitor calls 2013-04-09 01:52:06 +09:00