1. 18 5月, 2018 11 次提交
  2. 17 5月, 2018 13 次提交
  3. 16 5月, 2018 12 次提交
    • C
      ARM: re-enable MVGBE for edminiv2 · f2d0f5e7
      Chris Packham 提交于
      This was unintentionally disabled when moving MVGBE to Kconfig.
      
      Fixes: commit ed52ea50 ("net: add Kconfig for MVGBE")
      Signed-off-by: NChris Packham <judge.packham@gmail.com>
      f2d0f5e7
    • K
      pinctrl: do not set_state for device without valid ofnode · f717b4c8
      Kever Yang 提交于
      Not all the udevice have a available DT node, eg. rksdmmc@ff500000.blk
      which add by mmc_bind(), these device do not have/need set pinctrl
      state.
      Signed-off-by: NKever Yang <kever.yang@rock-chips.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      f717b4c8
    • L
      tools: buildman: Don't use the working dir as build dir · 409fc029
      Lothar Waßmann 提交于
      When the U-Boot base directory happens to have the same name as the branch
      that buildman is directed to use via the '-b' option and no output
      directory is specified with '-o', buildman happily starts removing the
      whole U-Boot sources eventually only stopped with the error message:
      
      OSError: [Errno 20] Not a directory: '../<branch-name>/boards.cfg
      
      Add a check to avoid this and also deal with the case where '-o' points
      to the source directory, or any subdirectory of it.
      
      Finally, tidy up the confusing logic for removing the old tree when using
      -b. This is only done when building a branch.
      Signed-off-by: NLothar Waßmann <LW@KARO-electronics.de>
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Tested-by: NLothar Waßmann <LW@KARO-electronics.de>
      409fc029
    • B
      usb: composite convert __set_bit to generic_set_bit · 31dd8efe
      Bryan O'Donoghue 提交于
      Compiling the f_mass_storage driver for an x86 target results in a
      compilation error as set_bit and clear_bit are provided by bitops.h
      
      To address that situation we discussed on the list moving to
      genetic_set_bit() instead.
      
      Doing a quick grep for similar situations in drivers/usb shows that the
      composite device is using __set_bit().
      
      This patch switches over to generic_set_bit to maintain consistency between
      the two gadget drivers.
      Signed-off-by: NBryan O'Donoghue <pure.logic@nexus-software.ie>
      Cc: Lukasz Majewski <lukma@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      31dd8efe
    • B
      usb: f_mass_storage: Fix set_bit and clear_bit usage · 5ac73f68
      Bryan O'Donoghue 提交于
      Compiling the f_mass_storage driver for an x86 target results in a
      compilation error as set_bit and clear_bit are provided by bitops.h
      
      Looking at the provenance of the current u-boot code and the git change
      history in the kernel, it looks like we have a local copy of set_bit and
      clear_bit as a hold-over from porting the Linux driver into u-boot.
      
      These days __set_bit and __clear_bit are optionally provided by an arch and
      can be used as inputs to generic_bit_set and generic_bit_clear.
      
      This patch switches over to generic_set_bit and generic_clear_bit to
      accommodate.
      
      Tested on i.MX WaRP7 and Intel Edison
      Signed-off-by: NBryan O'Donoghue <pure.logic@nexus-software.ie>
      Cc: Lukasz Majewski <lukma@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      5ac73f68
    • B
      nds32: Define PLATFORM__CLEAR_BIT for generic_clear_bit() · 73171c8d
      Bryan O'Donoghue 提交于
      nds2 bitops.h provides a __clear_bit() but does not define
      PLATFORM__CLEAR_BIT as a result generic_clear_bit() is used instead of the
      architecturally provided __clear_bit().
      
      This patch defines PLATFORM__CLEAR_BIT which means that __clear_bit() in
      nds32 bitops.h will be called whenever generic_clear_bit() is called - as
      opposed to the default cross-platform generic_clear_bit().
      Signed-off-by: NBryan O'Donoghue <pure.logic@nexus-software.ie>
      Cc: Macpaul Lin <macpaul@andestech.com>
      73171c8d
    • B
      nds32: Define PLATFORM__SET_BIT for generic_set_bit() · 76b916f2
      Bryan O'Donoghue 提交于
      nds32 bitops.h provides a __set_bit() but does not define PLATFORM__SET_BIT
      as a result generic_set_bit() is used instead of the architecturally
      provided __set_bit().
      
      This patch defines PLATFORM__SET_BIT which means that __set_bit() in nds32
      bitops.h will be called whenever generic_set_bit() is called - as opposed
      to the default cross-platform generic_set_bit().
      Signed-off-by: NBryan O'Donoghue <pure.logic@nexus-software.ie>
      Cc: Macpaul Lin <macpaul@andestech.com>
      76b916f2
    • B
      nios2: Define PLATFORM__CLEAR_BIT for generic_clear_bit() · ff83066c
      Bryan O'Donoghue 提交于
      nios2 bitops.h provides a __clear_bit() but does not define
      PLATFORM__CLEAR_BIT as a result generic_clear_bit() is used instead of the
      architecturally provided __clear_bit().
      
      This patch defines PLATFORM__CLEAR_BIT which means that __clear_bit() in
      nios2 bitops.h will be called whenever generic_clear_bit() is called - as
      opposed to the default cross-platform generic_clear_bit().
      Signed-off-by: NBryan O'Donoghue <pure.logic@nexus-software.ie>
      Cc: Thomas Chou <thomas@wytron.com.tw>
      ff83066c
    • B
      nios2: Define PLATFORM__SET_BIT for generic_set_bit() · 7ed4370b
      Bryan O'Donoghue 提交于
      nios2 bitops.h provides a __set_bit() but does not define PLATFORM__SET_BIT
      as a result generic_set_bit() is used instead of the architecturally
      provided __set_bit().
      
      This patch defines PLATFORM__SET_BIT which means that __set_bit() in nios2
      bitops.h will be called whenever generic_set_bit() is called - as opposed
      to the default cross-platform generic_set_bit().
      Signed-off-by: NBryan O'Donoghue <pure.logic@nexus-software.ie>
      Cc: Thomas Chou <thomas@wytron.com.tw>
      7ed4370b
    • B
      riscv: Define PLATFORM__CLEAR_BIT for generic_clear_bit() · accdce5f
      Bryan O'Donoghue 提交于
      riscv bitops.h provides a __clear_bit() but does not define
      PLATFORM__CLEAR_BIT as a result generic_clear_bit() is used instead of the
      architecturally provided __clear_bit().
      
      This patch defines PLATFORM__CLEAR_BIT which means that __clear_bit() in
      riscv bitops.h will be called whenever generic_clear_bit() is called - as
      opposed to the default cross-platform generic_clear_bit().
      Signed-off-by: NBryan O'Donoghue <pure.logic@nexus-software.ie>
      Cc: Rick Chen <rick@andestech.com>
      Cc: Greentime Hu <green.hu@gmail.com>
      accdce5f
    • B
      riscv: Define PLATFORM__SET_BIT for generic_set_bit() · 820cba2c
      Bryan O'Donoghue 提交于
      riscv bitops.h provides a __set_bit() but does not define PLATFORM__SET_BIT
      as a result generic_set_bit() is used instead of the architecturally
      provided __set_bit().
      
      This patch defines PLATFORM__SET_BIT which means that __set_bit() in x86
      bitops.h will be called whenever generic_set_bit() is called - as opposed
      to the default cross-platform generic_set_bit().
      Signed-off-by: NBryan O'Donoghue <pure.logic@nexus-software.ie>
      Cc: Rick Chen <rick@andestech.com>
      Cc: Greentime Hu <green.hu@gmail.com>
      820cba2c
    • B
      x86: Define PLATFORM__SET_BIT for generic_set_bit() · 30fe8b05
      Bryan O'Donoghue 提交于
      x86 bitops.h provides a __set_bit() but does not define PLATFORM__SET_BIT
      as a result generic_set_bit() is used instead of the architecturally
      provided __set_bit().
      
      This patch defines PLATFORM__SET_BIT which means that __set_bit() in x86
      bitops.h will be called whenever generic_set_bit() is called - as opposed
      to the default cross-platform generic_set_bit().
      Signed-off-by: NBryan O'Donoghue <pure.logic@nexus-software.ie>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      30fe8b05
  4. 15 5月, 2018 4 次提交