• Rich Felker's avatar
    sh: add device tree support and generic board using device tree · 7480e0aa
    Rich Felker authored
    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: default avatarRich Felker <dalias@libc.org>
    7480e0aa
of-generic.c 2.5 KB