1. 27 7月, 2020 1 次提交
  2. 24 7月, 2020 1 次提交
  3. 21 7月, 2020 1 次提交
  4. 11 6月, 2020 1 次提交
  5. 19 5月, 2020 3 次提交
  6. 12 4月, 2019 1 次提交
  7. 27 11月, 2018 1 次提交
  8. 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
  9. 28 4月, 2018 1 次提交
    • A
      Convert CONFIG_SPI to Kconfig · f1b1f770
      Adam Ford 提交于
      This converts the following to Kconfig:
         CONFIG_SPI
      
      This partly involves updating code that assumes that CONFIG_SPI implies
      things that are specific to the MPC8xx SPI driver.  For now, just update
      the CONFIG tests.  This also involves reworking the default for
      CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a
      reasonable default, as it does not cause any compile failures.
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      f1b1f770
  10. 01 6月, 2017 2 次提交
    • S
      dm: Fix up inclusion of common.h · 4af0d7e8
      Simon Glass 提交于
      It is good practice to include common.h as the first header. This ensures
      that required features like the DECLARE_GLOBAL_DATA_PTR macro,
      configuration options and common types are available.
      
      Fix up some files which currently don't do this. This is necessary because
      driver model will soon start using global data and configuration in the
      dm/read.h header file, included via dm.h. The gd->fdt_blob value will be
      used to access the device tree and CONFIG options will be used to
      determine whether to support inline functions in the header file.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      4af0d7e8
    • S
      dm: Rename dev_addr..() functions · a821c4af
      Simon Glass 提交于
      These support the flat device tree. We want to use the dev_read_..()
      prefix for functions that support both flat tree and live tree. So rename
      the existing functions to avoid confusion.
      
      In the end we will have:
      
         1. dev_read_addr...()    - works on devices, supports flat/live tree
         2. devfdt_get_addr...()  - current functions, flat tree only
         3. of_get_address() etc. - new functions, live tree only
      
      All drivers will be written to use 1. That function will in turn call
      either 2 or 3 depending on whether the flat or live tree is in use.
      
      Note this involves changing some dead code - the imx_lpi2c.c file.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      a821c4af
  11. 08 2月, 2017 1 次提交
    • S
      dm: core: Replace of_offset with accessor · e160f7d4
      Simon Glass 提交于
      At present devices use a simple integer offset to record the device tree
      node associated with the device. In preparation for supporting a live
      device tree, which uses a node pointer instead, refactor existing code to
      access this field through an inline function.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      e160f7d4
  12. 07 10月, 2016 1 次提交
  13. 28 10月, 2015 1 次提交
  14. 31 8月, 2015 1 次提交
  15. 06 8月, 2015 1 次提交
  16. 20 7月, 2015 1 次提交
    • H
      fdt: armv8: Fix build warnings on armv8 · b1d9e46a
      Haikun Wang 提交于
      Fix below build warnings on armv8,
      drivers/spi/fsl_dspi.c: In function ‘fsl_dspi_ofdata_to_platdata’:
      drivers/spi/fsl_dspi.c:667:2:
      warning: format ‘%x’ expects argument of type ‘unsigned int’,
      	but argument 2 has type ‘fdt_addr_t’ [-Wformat=]
      debug("DSPI: regs=0x%x, max-frequency=%d, endianess=%s, num-cs=%d\n",
      		    ^
      lib/fdtdec.c: In function ‘fdtdec_get_addr_size’:
      lib/fdtdec.c:105:4:
      warning: format ‘%lx’ expects argument of type ‘long unsigned int’,
      but argument 3 has type ‘fdt_size_t’ [-Wformat=]
      debug("addr=%08lx, size=%08lx\n",
      			    ^
      Signed-off-by: NHaikun Wang <haikun.wang@freescale.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      b1d9e46a
  17. 19 4月, 2015 1 次提交