1. 16 1月, 2019 3 次提交
  2. 19 6月, 2018 1 次提交
  3. 30 5月, 2018 2 次提交
  4. 24 5月, 2018 1 次提交
  5. 08 5月, 2018 1 次提交
  6. 07 5月, 2018 1 次提交
    • T
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini 提交于
      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: NTom Rini <trini@konsulko.com>
      83d290c5
  7. 12 1月, 2018 5 次提交
  8. 15 9月, 2017 1 次提交
  9. 17 8月, 2017 1 次提交
  10. 19 7月, 2017 1 次提交
  11. 13 4月, 2017 1 次提交
  12. 01 12月, 2016 1 次提交
    • T
      mmc: add bkops-enable command · cd3d4880
      Tomas Melin 提交于
      Add new command that provides possibility to enable the
      background operations handshake functionality
      (BKOPS_EN, EXT_CSD byte [163]) on eMMC devices.
      
      This is an optional feature of eMMCs, the setting is write-once.
      The command must be explicitly taken into use with
      CONFIG_CMD_BKOPS_ENABLE.
      Signed-off-by: NTomas Melin <tomas.melin@vaisala.com>
      cd3d4880
  13. 27 5月, 2016 1 次提交
  14. 17 5月, 2016 3 次提交
  15. 06 5月, 2016 1 次提交
    • M
      mmc: Fix error in RPMB code · b955e42b
      Marek Vasut 提交于
      Since we do not build any board with CONFIG_SUPPORT_EMMC_RPMB , this
      piece of code evaded conversion. Fix the following compiler error:
      
      cmd/mmc.c: In function 'do_mmcrpmb':
      cmd/mmc.c:316:32: error: 'struct blk_desc' has no member named 'part_num'
        original_part = mmc->block_dev.part_num;
                                      ^
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
      Cc: Tom Rini <trini@konsulko.com>
      b955e42b
  16. 02 4月, 2016 1 次提交
  17. 15 3月, 2016 2 次提交
  18. 25 1月, 2016 2 次提交
  19. 14 1月, 2016 2 次提交
    • S
      mmc: store hwpart in the block device · 873cc1d7
      Stephen Warren 提交于
      This will allow us to have multiple block device structs each referring
      to the same eMMC device, yet different HW partitions.
      
      For now, there is still a single block device per eMMC device. As before,
      this block device always accesses whichever HW partition was most recently
      selected. Clients wishing to make use of multiple block devices referring
      to different HW partitions can simply take a copy of this block device
      once it points at the correct HW partition, and use each one as they wish.
      This feature will be used by the next patch.
      
      In the future, perhaps get_device() could be enhanced to return a
      dynamically allocated block device struct, to avoid the client needing to
      copy it in order to maintain multiple block devices. However, this would
      require all users to be updated to free those block device structs at some
      point, which is rather a large change.
      
      Most callers of mmc_switch_part() wish to permanently switch the default
      MMC block device's HW partition. Enhance mmc_switch_part() so that it does
      this. This removes the need for callers to do this. However,
      common/env_mmc.c needs to save and restore the current HW partition. Make
      it do this more explicitly.
      
      Replace use of mmc_switch_part() with mmc_select_hwpart() in order to
      remove duplicate code that skips the call if that HW partition is already
      selected.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      873cc1d7
    • S
      block: pass block dev not num to read/write/erase() · 7c4213f6
      Stephen Warren 提交于
      This will allow the implementation to make use of data in the block_dev
      structure beyond the base device number. This will be useful so that eMMC
      block devices can encompass the HW partition ID rather than treating this
      out-of-band. Equally, the existence of the priv field is crying out for
      this patch to exist.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      7c4213f6
  20. 06 12月, 2015 1 次提交
  21. 20 11月, 2015 1 次提交
  22. 24 2月, 2015 1 次提交
  23. 19 1月, 2015 6 次提交