Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

fdt_support.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Simon Glass's avatar
      336a4487
      fdt: Correct fdt_get_base_address() · 336a4487
      Simon Glass authored
      
      This function appears to obtain the value of the 'ranges' property rather
      than 'reg'. As such it does not behave as documented or expected.
      
      In addition it picks up the second field of the property which is the size
      (with prop += naddr) rather than the first which is the address.
      
      Fix it.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      336a4487
      History
      fdt: Correct fdt_get_base_address()
      Simon Glass authored
      
      This function appears to obtain the value of the 'ranges' property rather
      than 'reg'. As such it does not behave as documented or expected.
      
      In addition it picks up the second field of the property which is the size
      (with prop += naddr) rather than the first which is the address.
      
      Fix it.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>