1. 24 7月, 2013 5 次提交
    • G
      pci: move pci_ftpci100.h to include/faraday/ftpci100.h · 8599515f
      Gabor Juhos 提交于
      Even though the header files is used only by the
      pci_ftpci100 driver, it contains declaration for
      a function which is used by external code.
      
      Move the header file to a common location which
      lets external code use it.
      
      Compile tested only.
      
      Cc: Macpaul Lin <macpaul@andestech.com>
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      8599515f
    • G
      pci: add prototype for pci_ftpci_init() function · b979cba9
      Gabor Juhos 提交于
      The pci_ftpci_init() function is implemented
      in 'drivers/pci/pci_ftpci100.c' however it is
      always called by external code.
      
      Add function declaration into ftpci100.h to
      make it visible for external code.
      
      Compile tested only.
      
      Cc: Macpaul Lin <macpaul@andestech.com>
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      b979cba9
    • G
      block: constify sect_buf argument of ide_write_data · c575180b
      Gabor Juhos 提交于
      Add a const keyword to the sect_buf argument of
      ide_write_data to fix the following warning:
      
        cmd_ide.c: In function '__ide_output_data':
        cmd_ide.c:548: warning: passing argument 2 of 'ide_write_data' discards qualifiers from pointer target type
        /devel/u-boot.git/include/ide.h:76: note: expected 'ulong *' but argument is of type 'const ulong *'
      
      Also modify the driver-model documentation to
      match with the new prototype.
      
      Compile tested only.
      
      Cc: Macpaul Lin <macpaul@andestech.com>
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      c575180b
    • G
      mmc: ftsdc010_mci: fix build error if CONFIG_FTSDC010_SDIO is not defined · dbb713ba
      Gabor Juhos 提交于
      The FTSDC010_DCR_FIFO_RST symbol is conditionally
      defined in <faraday/ftsdc010.h> and it is available
      available when CONFIG_FTSDC010_SDIO is enabled.
      
      However the actual driver code unconditionally uses
      the FTSDC010_DCR_FIFO_RST constant and this causes
      build error if CONFIG_FTSDC010_SDIO is not enabled.
      
      The following error happens when compiling for the
      adp-ag101 board:
      
        ftsdc010_mci.c: In function 'ftsdc010_request':
        ftsdc010_mci.c:178: error: 'FTSDC010_DCR_FIFO_RST' undeclared (first use in this function)
        ftsdc010_mci.c:178: error: (Each undeclared identifier is reported only once
        ftsdc010_mci.c:178: error: for each function it appears in.)
      
      The patch ensures that the FTSDC010_DCR_FIFO_RST
      symbol gets used only if CONFIG_FTSDC010_SDIO is
      defined.
      
      Compile tested only.
      
      Cc: Kuo-Jung Su <dantesu@faraday-tech.com>
      Cc: Macpaul Lin <macpaul@andestech.com>
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      Reviewed-by: NKuo-Jung Su <dantesu@faraday-tech.com>
      dbb713ba
    • G
      nds32: introduce macros for bit manipulation · bea2868f
      Gabor Juhos 提交于
      U-Boot does not compile for the adp-ag101 boards since
      commit f6c3b346 (mmc:
      update Faraday FTSDC010 for rw performance)
      
      The driver assumes that the bit manipulation macros
      are provided by all architectures. This is not the
      case for nds32 and it causes a build error like this:
      
        ftsdc010_mci.c: In function 'ftsdc010_clkset':
        ftsdc010_mci.c:118: warning: implicit declaration of function 'setbits_le32'
        ftsdc010_mci.c:123: warning: implicit declaration of function 'clrbits_le32'
        drivers/mmc/libmmc.o: In function `ftsdc010_request':
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:234: undefined reference to `setbits_le32'
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:243: undefined reference to `clrbits_le32'
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:234: undefined reference to `clrbits_le32'
        drivers/mmc/libmmc.o: In function `ftsdc010_clkset':
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:118: undefined reference to `clrbits_le32'
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:118: undefined reference to `clrbits_le32'
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:121: undefined reference to `setbits_le32'
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:123: undefined reference to `setbits_le32'
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:123: undefined reference to `setbits_le32'
      
      The patch adds bit manipulation macros for the
      nds32 architecture to avoid the errors. The macros
      are copied from the ARM implementation.
      
      Compile tested only.
      
      Cc: Kuo-Jung Su <dantesu@faraday-tech.com>
      Cc: Macpaul Lin <macpaul@andestech.com>
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      bea2868f
  2. 23 7月, 2013 1 次提交
  3. 22 7月, 2013 3 次提交
  4. 21 7月, 2013 1 次提交
  5. 20 7月, 2013 2 次提交
  6. 19 7月, 2013 2 次提交
  7. 17 7月, 2013 12 次提交
  8. 16 7月, 2013 8 次提交
  9. 15 7月, 2013 1 次提交
    • T
      Revert "MIPS: Jz4740: Add qi_lb60 board support" · 54e458de
      Tom Rini 提交于
      The files board/qi/qi_lb60/qi_lb60.c and include/configs/qi_lb60.h were
      licensed under the GPL v3 or later, and not v2 or later.  As this is
      incompatible with the project, revert this board support until the
      responsible parties are available to re-license (if so desired) under
      GPL v2.
      Signed-off-by: NTom Rini <trini@ti.com>
      54e458de
  10. 13 7月, 2013 5 次提交