Skip to content
Snippets Groups Projects
  1. Oct 30, 2022
  2. Feb 09, 2022
  3. Aug 31, 2021
  4. Jan 15, 2021
  5. Oct 22, 2020
  6. Aug 26, 2020
  7. May 19, 2020
  8. May 18, 2020
  9. Dec 02, 2019
  10. Nov 07, 2019
  11. Aug 11, 2019
  12. Dec 27, 2018
    • Cristian Ciocaltea's avatar
      api: storage: Fix enumeration of storage devices · 8efae021
      Cristian Ciocaltea authored and Tom Rini's avatar Tom Rini committed
      
      dev_stor_get() is not able to find the next available device in the current
      storage group when the previous enumerated device belongs to a different
      group or class (e.g. network).
      
      The root cause is the device group iterator not being reset after an
      unsuccessful search for the last returned device so that the following
      search for the next available device will start from beginning.
      
      The issue has been identified by loading and booting GRUB in a QEMU
      vexpress-a9 environment.
      
      Signed-off-by: default avatarCristian Ciocaltea <cristian.ciocaltea@iquestgroup.com>
      8efae021
  13. May 07, 2018
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  14. Apr 27, 2018
  15. Apr 06, 2018
  16. Aug 16, 2017
  17. Aug 13, 2017
  18. Jul 11, 2017
  19. Jul 08, 2017
    • Christophe Leroy's avatar
      powerpc: Partialy restore core of mpc8xx · 907208c4
      Christophe Leroy authored and Tom Rini's avatar Tom Rini committed
      
      CS Systemes d'Information (CSSI) manufactures 8xx boards for
      critical communication systems. Those boards have been
      running U-Boot since 2010 and will have to be maintained
      until at least 2027.
      
      commit 5b8e76c3
      ("powerpc, 8xx: remove support for 8xx") orphaned those boards
      by removing support for the mpc8xx CPU.
      
      This commit partially restores support for the 8xx, with the
      following limitations:
      - Restores support for MPC866 and MPC885 only
      - Does not restore IDE, PCMCIA, I2C, USB
      - Does not restore examples
      - Does not restore POST
      - Does not restore Ethernet on SCC
      - Does not restore console on SCC
      - Does not restore bedbug and kgdb support
      
      As the 866 and 885 do not support the following features,
      they are not restored either:
      - VIDEO / LCD
      - RTC clock
      
      The CPM uCODE patch is not restored either, because:
      - 866 and 885 already have support for I2C and SPI relocation
      without a uCODE patch
      - relocation of SMC, I2C or SPI is only needed for using SCCs
      for Ethernet or QMC
      
      The dynamic setup/calculation of clocks is removed, we
      expect the target being use with the clock and PLPRCR register
      defined in the configuration.
      All the clock settings for 8xx prior to 866 is removed as
      well as we now only support 866 and 885.
      
      This code is mature and addresses mature boards. Therefore
      all code enclosed in '#if 0/#endif' and '#if XX_DEBUG/#endif'
      is unneeded.
      
      The following files are not restored by this patch:
      
      - arch/powerpc/cpu/mpc8xx/bedbug_860.c
      - arch/powerpc/cpu/mpc8xx/fec.h
      - arch/powerpc/cpu/mpc8xx/kgdb.S
      - arch/powerpc/cpu/mpc8xx/plprcr_write.S
      - arch/powerpc/cpu/mpc8xx/scc.c
      - arch/powerpc/cpu/mpc8xx/upatch.c
      - arch/powerpc/cpu/mpc8xx/video.c
      - arch/powerpc/include/asm/status_led.h
      - arch/powerpc/lib/ide.c
      - arch/powerpc/lib/ide.h
      - doc/README.MPC866
      - drivers/pcmcia/mpc8xx_pcmcia.c
      - drivers/rtc/mpc8xx.c
      - drivers/usb/gadget/mpc8xx_udc.c
      - drivers/video/mpc8xx_lcd.c
      - examples/standalone/test_burst.c
      - examples/standalone/test_burst.h
      - examples/standalone/test_burst_lib.S
      - examples/standalone/timer.c
      - include/mpc823_lcd.h
      - include/usb/mpc8xx_udc.h
      - post/cpu/mpc8xx/Makefile
      - post/cpu/mpc8xx/cache.c
      - post/cpu/mpc8xx/cache_8xx.S
      - post/cpu/mpc8xx/ether.c
      - post/cpu/mpc8xx/spr.c
      - post/cpu/mpc8xx/uart.c
      - post/cpu/mpc8xx/usb.c
      - post/cpu/mpc8xx/watchdog.c
      
      Some of the restored files are not located in a proper location.
      In order to keep traceability of the changes, they will be
      moved to their correct location and moved to Kconfig in a
      followup patch.
      
      This patch also declares CSSI as point of contact for the update
      of the 8xx platform, as those boards are the only ones still
      being maintained on the 8xx area. A later patch will add
      those boards to the tree.
      
      Signed-off-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
      907208c4
  20. Jun 23, 2017
  21. Jun 16, 2017
  22. Jun 12, 2017
  23. May 22, 2017
    • Simon Glass's avatar
      Kconfig: Add a CONFIG_IDE option · fc843a02
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      At present IDE support is controlled by CONFIG_CMD_IDE. Add a separate
      CONFIG_IDE option so that IDE support can be enabled without requiring
      the 'ide' command.
      
      Update existing users and move the ide driver into drivers/block since
      it should not be in common/.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      fc843a02
  24. Apr 08, 2017
    • fuz@fuz.su's avatar
      Apparent conflict between CONFIG_BLK and CONFIG_API · f2288c5a
      fuz@fuz.su authored and Tom Rini's avatar Tom Rini committed
      Good evening,
      
      I am trying to port FreeBSD to the ASUS Tinker Board, a computer based
      on the Rockchip 3288 SoC. FreeBSD's boot loader (named loader(8)) needs
      CONFIG_API to be enabled, but trying to build an U-Boot from trunk with
      both CONFIG_API and CONFIG_BLK (as required for Rockchip SoC's?) leads
      to the following build failure:
      
      $ CROSS_COMPILE=arm-none-eabi- gmake tinker-rk3288_defconfig all
      ...
        CC      api/api_storage.o
      api/api_storage.c: In function 'dev_read_stor':
      api/api_storage.c:334:9: error: 'struct blk_desc' has no member named 'block_read'
        if ((dd->block_read) == NULL) {
               ^~
      api/api_storage.c:339:11: error: 'struct blk_desc' has no member named 'block_read'
        return dd->block_read(dd, start, len, buf);
                 ^~
      api/api_storage.c:340:1: warning: control reaches end of non-void function [-Wreturn-type]
       }
       ^
      gmake[2]: *** [scripts/Makefile.build:281: api/api_storage.o] Fehler 1
      gmake[1]: *** [Makefile:1229: api] Fehler 2
      gmake: *** [Makefile:460: __build_one_by_one] Error 2
      
      I applied the following fix, but the product doesn't boot. Perhaps
      that's not a property of the fix though:
      
      Yours,
      Robert Clausecker
      f2288c5a
  25. Feb 08, 2017
  26. Jan 20, 2017
  27. Dec 04, 2016
Loading