MIPS: implement device-tree handover to Linux kernel
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 22 Feb 2015 15:58:30 +0000 (16:58 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 24 Apr 2015 10:15:34 +0000 (12:15 +0200)
commit90b1c9fad7bde21e3f0d388d0ba0ac5ee1f2e976
tree2bd21a8949cb93556cc580e3ea838923324423dd
parentd8c1d5d5fb6eafbc532982125f006e49f2c40e71
MIPS: implement device-tree handover to Linux kernel

Add device-tree handover to Linux kernel conforming with MIPS UHI [1].
Register $a0 will be set to the reserved value -2. The address of
the device-tree blob will be stored as KSEG0 address in $a1. $a2 and
$a3 are set to zero.

[1] http://prplfoundation.org/wiki/MIPS_documentation

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/Kconfig
arch/mips/lib/bootm.c