1. 17 5月, 2017 1 次提交
    • S
      spi: ich: Configure SPI BIOS parameters for Linux upon U-Boot exit · 4759dffe
      Stefan Roese 提交于
      This patch adds a remove function to the Intel ICH SPI driver, that will
      be called upon U-Boot exit, directly before the OS (Linux) is started.
      This function takes care of configuring the BIOS registers in the SPI
      controller (similar to what a "standard" BIOS or coreboot does), so that
      the Linux MTD device driver is able to correctly read/write to the SPI
      NOR chip. Without this, the chip is not detected at all.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      Cc: Jagan Teki <jteki@openedev.com>
      4759dffe
  2. 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
  3. 22 9月, 2016 1 次提交
    • J
      spi: Use mode for rx mode flags · 08fe9c29
      Jagan Teki 提交于
      Make rx mode flags as generic to spi, earlier mode_rx is
      maintained separately because of some flash specific code.
      
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      Cc: Michal Simek <michal.simek@xilinx.com>
      Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
      Cc: Vignesh R <vigneshr@ti.com>
      Cc: Mugunthan V N <mugunthanvnm@ti.com>
      Signed-off-by: NJagan Teki <jteki@openedev.com>
      08fe9c29
  4. 05 2月, 2016 4 次提交
  5. 24 1月, 2016 2 次提交
  6. 13 1月, 2016 4 次提交
  7. 28 10月, 2015 1 次提交
  8. 23 10月, 2015 1 次提交
  9. 21 10月, 2015 1 次提交
  10. 15 7月, 2015 3 次提交
  11. 19 4月, 2015 1 次提交
    • S
      dm: x86: spi: Convert ICH SPI driver to driver model · ba457562
      Simon Glass 提交于
      Convert this driver over to use driver model. Since all x86 platforms use
      it, move x86 to use driver model for SPI and SPI flash. Adjust all dependent
      code and remove the old x86 spi_init() function.
      
      Note that this does not make full use of the new PCI uclass as yet. We still
      scan the bus looking for the device. It should move to finding its details
      in the device tree.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      ba457562
  12. 17 4月, 2015 1 次提交
  13. 07 2月, 2015 2 次提交
  14. 24 1月, 2015 1 次提交
  15. 14 12月, 2014 4 次提交
  16. 24 7月, 2013 1 次提交
  17. 02 4月, 2013 1 次提交
    • Y
      Consolidate bool type · 472d5460
      York Sun 提交于
      'bool' is defined in random places. This patch consolidates them into a
      single header file include/linux/types.h, using stdbool.h introduced in C99.
      
      All other #define, typedef and enum are removed. They are all consistent with
      true = 1, false = 0.
      
      Replace FALSE, False with false. Replace TRUE, True with true.
      Skip *.py, *.php, lib/* files.
      Signed-off-by: NYork Sun <yorksun@freescale.com>
      472d5460
  18. 19 3月, 2013 2 次提交