]> git.baikalelectronics.ru Git - kernel.git/commit
of/fdt: make memblock minimum physical address arch configurable
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 16 Feb 2016 12:52:32 +0000 (13:52 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 18 Feb 2016 18:15:19 +0000 (18:15 +0000)
commitf22b8a2ef31586fea604ab6e8869cadb003d60ab
treeb04e92ba0e078e7cdf032541df778888dc03fe1d
parente266c83eccea10b586e25a6ecb21587d7b767e0b
of/fdt: make memblock minimum physical address arch configurable

By default, early_init_dt_add_memory_arch() ignores memory below
the base of the kernel image since it won't be addressable via the
linear mapping. However, this is not appropriate anymore once we
decouple the kernel text mapping from the linear mapping, so archs
may want to drop the low limit entirely. So allow the minimum to be
overridden by setting MIN_MEMBLOCK_ADDR.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
drivers/of/fdt.c