]> git.baikalelectronics.ru Git - kernel.git/commit
of/fdt: factor out assignment of initrd_start/initrd_end
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 16 Feb 2016 12:52:33 +0000 (13:52 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 18 Feb 2016 18:15:39 +0000 (18:15 +0000)
commitc0ae0bc86aeefe19d20fcbde3371a1249d086997
tree26599512eae7696288b8b6fb31f9e77d65039593
parentf22b8a2ef31586fea604ab6e8869cadb003d60ab
of/fdt: factor out assignment of initrd_start/initrd_end

Since architectures may not yet have their linear mapping up and running
when the initrd address is discovered from the DT, factor out the
assignment of initrd_start and initrd_end, so that an architecture can
override it and use the translation it needs.

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