1. 08 5月, 2019 1 次提交
  2. 18 8月, 2018 1 次提交
  3. 13 4月, 2018 1 次提交
    • R
      sh: fix memory corruption of unflattened device tree · eb6b6930
      Rich Felker 提交于
      unflatten_device_tree() makes use of memblock allocation, and
      therefore must be called before paging_init() migrates the memblock
      allocation data to the bootmem framework. Otherwise the record of the
      allocation for the expanded device tree will be lost, and will
      eventually be clobbered when allocated for another use.
      Signed-off-by: NRich Felker <dalias@libc.org>
      eb6b6930
  4. 14 6月, 2017 1 次提交
  5. 31 7月, 2016 1 次提交
  6. 24 6月, 2016 2 次提交
  7. 18 3月, 2016 2 次提交
    • R
      sh: add SMP method selection to device tree pseudo-board · 044b81f8
      Rich Felker 提交于
      Allow selection of plat_smp_ops based on the enable-method cpu
      property from device tree and provide dummy ops for booting with a
      device tree that does not enable SMP.
      Signed-off-by: NRich Felker <dalias@libc.org>
      044b81f8
    • R
      sh: add device tree support and generic board using device tree · 7480e0aa
      Rich Felker 提交于
      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: NRich Felker <dalias@libc.org>
      7480e0aa