Skip to content
Snippets Groups Projects
  1. Dec 06, 2019
  2. Dec 04, 2019
  3. Dec 03, 2019
  4. Dec 02, 2019
  5. Nov 23, 2019
  6. Nov 21, 2019
  7. Nov 20, 2019
    • Tom Rini's avatar
      env: Finish migration of common ENV options · a09fea1d
      Tom Rini authored
      
      - In ARMv8 NXP Layerscape platforms we also need to make use of
        CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
      - On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
        to 0.
      - Add Kconfig entry for ENV_ADDR.
      - Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
      - Add ENV_xxx_REDUND options that depend on their primary option and
        SYS_REDUNDAND_ENVIRONMENT
      - On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
        for the pre-main-U-Boot environment location.
      - On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
        rather it being non-zero, as it will now be zero by default.
      - Rework the env_offset absolute in env/embedded.o to not use
        CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
        ENV_IS_IN_FLASH.
      - Migrate all platforms.
      
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: uboot-stm32@st-md-mailman.stormreply.com
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      Reviewed-by: default avatarSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
      a09fea1d
    • Tom Rini's avatar
      env: Remove useless CONFIG_ENV_SIZE_REDUND and fix ENV_IS_REDUND check · a8992e78
      Tom Rini authored
      
      We have CONFIG_ENV_SIZE_IS_REDUND but don't really use it.  We have one
      board where we can simply multiple CONFIG_ENV_SIZE by two for the same
      result.  The other place where we could but were not previously using
      this is for where env_internal.h checks for if we should set
      ENV_IS_EMBEDDED.  This seems like the most likely use, historically, of
      the variable, but it was not used.  Add logic to check for this now.
      
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      a8992e78
  8. Nov 17, 2019
  9. Nov 12, 2019
  10. Nov 07, 2019
  11. Nov 06, 2019
  12. Nov 05, 2019
  13. Oct 31, 2019
  14. Oct 15, 2019
    • Giulio Benetti's avatar
      4ab6a45e
    • Matthias Brugger's avatar
      libfdt: Allow #size-cells of 0 · 8076fc29
      Matthias Brugger authored
      
      The commit "libfdt: fdt_address_cells() and fdt_size_cells()" introduced
      a bug as it consolidated code between the helpers for getting
      be 0, and is frequently found so in practice for /cpus.  IEEE1275 only
      requires implementations to handle 1..4 for #address-cells, although one
      could make a case for #address-cells == #size-cells == 0 being used to
      represent a bridge with a single port.
      
      While we're there, it's not totally obvious that the existing implicit
      cast of a u32 to int will give the correct results according to strict C,
      although it does work in practice.  Straighten that up to cast only after
      we've made our range checks.
      
      This is based on upstream commit:
      b8d6eca ("libfdt: Allow #size-cells of 0")
      but misses the test cases,as we don't implement them in U-Boot.
      
      Signed-off-by: default avatarMatthias Brugger <mbrugger@suse.com>
      8076fc29
    • Matthias Brugger's avatar
      libfdt: return correct value if #size-cells property is not present · 0ba41ce1
      Matthias Brugger authored
      
      According to the device tree specification, the default value for
      was not present.
      
      This patch also makes fdt_address_cells() and fdt_size_cells() conform
      to the behaviour documented in libfdt.h. The defaults are only returned
      if fdt_getprop() returns -FDT_ERR_NOTFOUND, otherwise the actual error
      is returned.
      
      This is based on upstream commit:
      aa7254d ("libfdt: return correct value if #size-cells property is not present")
      but misses the test case part, as we don't implement them in U-Boot.
      
      Signed-off-by: default avatarMatthias Brugger <mbrugger@suse.com>
      0ba41ce1
    • Matthias Brugger's avatar
      libfdt: fdt_address_cells() and fdt_size_cells() · ce2dae3a
      Matthias Brugger authored
      
      Add internal fdt_cells() to avoid copy and paste. Fix typo in
      fdt_size_cells() documentation comment.
      
      This is based in upstream commit:
      c12b2b0 ("libfdt: fdt_address_cells() and fdt_size_cells()")
      but misses the test cases, as we don't implement them in U-Boot.
      
      Signed-off-by: default avatarMatthias Brugger <mbrugger@suse.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      ce2dae3a
    • Simon Glass's avatar
      binman: x86: Separate out 16-bit reset and init code · 5e239183
      Simon Glass authored
      
      At present these two sections of code are linked together into a single
      2KB chunk in a single file. Some Intel SoCs like to have a FIT (Firmware
      Interface Table) in the ROM and the pointer for this needs to go at
      0xffffffc0 which is in the middle of these two sections.
      
      Make use of the new 'reset' entry and change the existing 16-bit entry to
      include just the 16-bit data.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      5e239183
  15. Oct 08, 2019
  16. Oct 04, 2019
  17. Sep 23, 2019
  18. Sep 19, 2019
    • Tom Rini's avatar
      scrapyard: Delete this file and script · 4a7cf0fd
      Tom Rini authored
      
      The README.scrapyard file has been inconsistently updated.  While well
      intentioned, bad data is worse than no data, and in this case a pointer
      to use the history that git provides.  Remove the current content and
      the script that would update it from time to time as well.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      4a7cf0fd
  19. Aug 26, 2019
  20. Aug 25, 2019
  21. Aug 23, 2019
  22. Aug 14, 2019
Loading