Skip to content
Snippets Groups Projects
  1. 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
  2. Jul 11, 2017
  3. Jun 23, 2017
  4. May 22, 2017
    • Simon Glass's avatar
      Kconfig: Add a CONFIG_IDE option · fc843a02
      Simon Glass authored
      
      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: default avatarSimon Glass <sjg@chromium.org>
      fc843a02
  5. Apr 08, 2017
    • fuz@fuz.su's avatar
      Apparent conflict between CONFIG_BLK and CONFIG_API · f2288c5a
      fuz@fuz.su authored
      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
  6. Jan 20, 2017
    • Emmanuel Vadot's avatar
      api: storage: Test all block device in dev_stor_get · d3e8f630
      Emmanuel Vadot authored
      
      In a config with one MMC at device id '1' and no MMC at device id '0'
      (a BeagleBone Black with no sd inserted for example), the current code
      will first test to access the MMC 0 (sd port), seeing that no device is
      present it will simply return that no more device are present for this
      class.
      This patch fixes this by testing all devices for each class.
      
      Signed-off-by: default avatarEmmanuel Vadot <manu@bidouilliste.com>
      d3e8f630
  7. Dec 04, 2016
  8. Oct 24, 2016
  9. May 17, 2016
  10. Mar 14, 2016
  11. Jan 14, 2016
  12. Sep 15, 2015
    • Andreas Färber's avatar
      api_storage: Fix non-first storage device enumeration · ce2a07b7
      Andreas Färber authored
      
      When enabling CONFIG_API and chain-loading GRUB2 on jetson-tk1, only the
      eMMC would show up as (hd0), but not the SD card, leading to GRUB not
      finding its configuration and modules, falling back to a rescue shell.
      
      This is because enum_ended would get set for !more after returning a
      cookie for the first MMC device in group 3.
      
      Fix this by properly setting the "more" argument also in the case of the
      first storage device of a group.
      
      Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
      ce2a07b7
  13. Jul 24, 2013
  14. May 15, 2009
  15. Oct 18, 2008
  16. Oct 14, 2008
  17. Aug 06, 2008
  18. Jul 29, 2008
  19. Feb 14, 2008
  20. Jan 09, 2008
    • Rafal Jaworowski's avatar
      API for external applications. · 500856eb
      Rafal Jaworowski authored
      
      This is an API for external (standalone) applications running on top of
      U-Boot, and is meant to be more extensible and robust than the existing
      jumptable mechanism. It is similar to UNIX syscall approach. See api/README
      for more details.
      
      Included is the demo application using this new framework (api_examples).
      
      Please note this is still an experimental feature, and is turned off by
      default.
      
      Signed-off-by: default avatarRafal Jaworowski <raj@semihalf.com>
      500856eb
Loading