1. 23 Mar, 2021 2 commits
    • Andre Przywara's avatar
      fdt: Use proper #address-cells and #size-cells for reserved-memory · 81146c46
      Andre Przywara authored
      
      
      The devicetree binding document[1] for the /reserved-memory node demands
      that the number of address and size-cells in the reserved-memory node
      must match those values in the root node. So far we were forcing a
      64-bit address along with a 32-bit size.
      
      Adjust the code to query the cells values from the root node, and
      populate the newly created /reserved-memory node accordingly.
      
      This fixes the fdt_add_reserved_memory() function when called on a
      devicetree which does not use the 2/1 pair. Linux is picky about this
      and will bail out the parsing routine, effectively ignoring the
      reserved-memory node:
      [    0.000000] OF: fdt: Reserved memory: unsupported node format, ignoring
      
      [1] Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
          in the Linux kernel source tree
      
      Change-Id: Ie126ebab4f3fedd48e12c9ed4bd8fa123acc86d3
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
      81146c46
    • Olivier Deprez's avatar
  2. 19 Mar, 2021 3 commits
  3. 18 Mar, 2021 7 commits
  4. 17 Mar, 2021 2 commits
  5. 16 Mar, 2021 2 commits
  6. 15 Mar, 2021 4 commits
  7. 12 Mar, 2021 1 commit
  8. 10 Mar, 2021 4 commits
  9. 09 Mar, 2021 2 commits
  10. 08 Mar, 2021 3 commits
  11. 05 Mar, 2021 3 commits
  12. 04 Mar, 2021 2 commits
  13. 03 Mar, 2021 5 commits