sh: add device tree support and generic board using device tree
authorRich Felker <dalias@libc.org>
Sat, 23 Jan 2016 00:45:41 +0000 (00:45 +0000)
committerRich Felker <dalias@libc.org>
Thu, 17 Mar 2016 19:46:11 +0000 (19:46 +0000)
commit7480e0aabd5f9e6c3e3b72ed206e89284e90f11f
treeafcdb346dbec13ea4be79f062e9f849caedceaae
parent45624ac38926c8c2f1a63b4a39e7b1997743e1b3
sh: add device tree support and generic board using device tree

Add a new pseudo-board, within the existing SH boards/machine-vectors
framework, which does not represent any actual hardware but instead
requires all hardware to be described by the device tree blob provided
by the boot loader. Changes made are thus non-invasive and do not risk
breaking support for legacy boards.

New hardware, including the open-hardware J2 and associated SoC
devices, will use device free from the outset. Legacy SH boards can
transition to device tree once all their hardware has device tree
bindings, driver support for device tree, and a dts file for the
board.

It is intented that, once all boards are supported in the new
framework, the existing machine-vectors framework should be removed
and the new device tree setup code integrated directly.

Signed-off-by: Rich Felker <dalias@libc.org>
Documentation/devicetree/booting-without-of.txt
arch/sh/boards/Kconfig
arch/sh/boards/Makefile
arch/sh/boards/of-generic.c [new file with mode: 0644]
arch/sh/kernel/head_32.S
arch/sh/kernel/setup.c