]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Introduce plat_get_fdt a platform API to retrieve the FDT
authorMatt Redfearn <matt.redfearn@imgtec.com>
Thu, 31 Mar 2016 09:05:40 +0000 (10:05 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:02:03 +0000 (14:02 +0200)
commitd52dc6158ef7b5f0ade6b7b716dd3a7448625008
treeec338a40b5fabbf17fe7d51eda5e909aed1f0899
parentee16885b00e39891deba928be0fe23ea1d3583d0
MIPS: Introduce plat_get_fdt a platform API to retrieve the FDT

Early access to the kernel command line requires early access to the FDT
for platforms which pass the command line within the device tree. There
was no common way to retrieve the location of the FDT without incurring
side effects, such as plat_mem_setup which, on Malta at least,
initializes a bunch of other stuff.

This patch adds plat_get_ftd() for IMG platforms.

Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: kernel-hardening@lists.openwall.com
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12988/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/bootinfo.h
arch/mips/mti-malta/malta-setup.c
arch/mips/mti-sead3/sead3-setup.c