MIPS: Lantiq: Add support for device tree file from boot loader
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 19 Mar 2016 17:28:51 +0000 (18:28 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:44 +0000 (14:01 +0200)
commit84f47cf49e3c8348f4a0a04e8fa2404f1e2722cc
treea265ae46564bea68fae229ee9049e20e9a289f66
parent842c1e2c4aaa94ec314d2b0f6595cfb85f42b09d
MIPS: Lantiq: Add support for device tree file from boot loader

This fetches the device tree file like it is specified in the MIPS UHI
interface if one was found. This is also used when the device tree file
was appended to the kernel image with cat.
This code is copied from arch/mips/bmips/setup.c.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12898/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lantiq/prom.c