mirror of https://gitee.com/openkylin/linux.git
e8d9d1f548
This patch adds support for static (defined by 'reg' property) reserved memory regions declared in device tree. Memory blocks can be reliably reserved only during early boot. This must happen before the whole memory management subsystem is initialized, because we need to ensure that the given contiguous blocks are not yet allocated by kernel. Also it must happen before kernel mappings for the whole low memory are created, to ensure that there will be no mappings (for reserved blocks). Typically, all this happens before device tree structures are unflattened, so we need to get reserved memory layout directly from fdt. Based on previous code provided by Josh Cartwright <joshc@codeaurora.org> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Grant Likely <grant.likely@linaro.org> |
||
---|---|---|
.. | ||
testcase-data | ||
Kconfig | ||
Makefile | ||
address.c | ||
base.c | ||
device.c | ||
fdt.c | ||
irq.c | ||
of_mdio.c | ||
of_mtd.c | ||
of_net.c | ||
of_pci.c | ||
of_pci_irq.c | ||
of_private.h | ||
pdt.c | ||
platform.c | ||
selftest.c |