]> git.karo-electronics.de Git - karo-tx-linux.git/commit
In response to new device tree code in the kernel, OLPC will start using
authorDaniel Drake <dsd@laptop.org>
Sat, 16 Jul 2011 13:30:50 +0000 (23:30 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 26 Jul 2011 05:04:55 +0000 (15:04 +1000)
commitdcb9c3385680c6a52fe01f818b127baaba71cd4e
treee64f60b5a599f891298d63662cc3a69bb6927513
parent89c6ba2d24ecf61dc1d8a577ec0a0d1673fb3129
In response to new device tree code in the kernel, OLPC will start using
it for probing of certain devices.  However, some firmware fixes are
needed to put the devicetree into a usable state.

Retain compatibility with old firmware by fixing up the device tree at
boot-time if it does not contain the new nodes/properties that we need for
probing.  This is the same approach taken on PPC platforms.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Andres Salomon <dilinger@queued.net>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/platform/olpc/olpc_dt.c