1. 31 8月, 2014 14 次提交
  2. 30 8月, 2014 17 次提交
  3. 25 8月, 2014 4 次提交
    • L
      ARM: DRA: Enable VTT regulator · 7b922523
      Lokesh Vutla 提交于
      DRA7 evm REV G and later boards uses a vtt regulator for DDR3 termination
      and this is controlled by gpio7_11. Configuring gpio7_11.
      The pad A22(offset 0x3b4) is used by gpio7_11 on REV G and later boards,
      and left unused on previous boards, so it is safe enough to enable gpio
      on all DRA7 boards.
      Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
      7b922523
    • S
      ARM: DRA7: Enable software leveling for dra7 · f2a1b93b
      Sricharan R 提交于
      Currently hw leveling is enabled by default on DRA7/72.
      But the hardware team suggested to use sw leveling as hw leveling
      is not characterized and seen some test case failures.
      So enabling sw leveling on all DRA7 platforms.
      Signed-off-by: NSricharan R <r.sricharan@ti.com>
      Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
      f2a1b93b
    • V
      keystone2: use EFUSE_BOOTROM information to configure PLLs · 61f66fd5
      Vitaly Andrianov 提交于
      This patch reads EFUSE_BOOTROM register to see the maximum supported
      clock for CORE and TETRIS PLLs and configure them accordingly.
      Acked-by: NMurali Karicheri <m-karicheri2@ti.com>
      Signed-off-by: NVitaly Andrianov <vitalya@ti.com>
      Signed-off-by: NIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
      61f66fd5
    • P
      board/ti/dra7xx: add support for parallel NOR · 9352697a
      pekon gupta 提交于
      This patch adds support for parallel NOR device (S29GL512S10) present on J6-EVM.
      The Flash device is connected to GPMC controller on chip-select[0] and accessed
      as memory-mapped device. It has data-witdh=x16, capacity-64MBytes(512Mbits) and
      is CFI compatible.
      
      As multiple devices are share GPMC pins on this board, so following board
      settings are required to detect NOR device:
           SW5.1 (NAND_BOOTn) = OFF (logic-1)
           SW5.2 (NOR_BOOTn)  = ON  (logic-0) /* Active-low */
           SW5.3 (eMMC_BOOTn) = OFF (logic-1)
           SW5.4 (QSPI_BOOTn) = OFF (logic-1)
      
      And also set appropriate SYSBOOT configurations:
           SW3.1 (SYSBOOT[ 8])= ON  (logic-1) /* selects SYS_CLK1 speed */
           SW3.2 (SYSBOOT[ 9])= OFF (logic-0) /* selects SYS_CLK1 speed */
           SW3.3 (SYSBOOT[10])= ON  (logic-1) /* wait-pin monitoring = enabled */
           SW3.4 (SYSBOOT[11])= OFF (logic-0) /* device type: Non Muxed */
           SW3.5 (SYSBOOT[12])= OFF (logic-0) /* device type: Non Muxed */
           SW3.6 (SYSBOOT[13])= ON  (logic-1) /* device bus-width: 1(x16) */
           SW3.7 (SYSBOOT[14])= OFF (logic-0) /* reserved */
           SW3.8 (SYSBOOT[15])= ON  (logic-1) /* reserved */
      
      Also, following changes are required to enable NOR Flash support in
      dra7xx_evm board profile:
      9352697a
  4. 24 8月, 2014 4 次提交
    • T
      nios2: remove EPCS driver · 055626ac
      Thomas Chou 提交于
      The Altera EPCS is SPI flash. We have been using SPI flash driver
      to access EPCS for years. The old EPCS driver could be removed.
      Signed-off-by: NThomas Chou <thomas@wytron.com.tw>
      055626ac
    • T
      nios2: add generic board support · 5ff10aa7
      Thomas Chou 提交于
      This patch implements the generic board init as described in
      doc/README.generic-board.
      Signed-off-by: NThomas Chou <thomas@wytron.com.tw>
      Signed-off-by: NScott McNutt <smcnutt@psyent.com>
      Reviewed-by: NStefan Roese <sr@denx.de>
      5ff10aa7
    • T
      nios2: remove obsolete PCI5441 and PK1C20 boards · 70fbc461
      Thomas Chou 提交于
      Signed-off-by: NThomas Chou <thomas@wytron.com.tw>
      70fbc461
    • V
      nios2: Fix printf size_t format related warnings (again...) · 00a2517f
      Vasili Galka 提交于
      When compiling the current code on GCC 4.8.3, the following warnings
      appear:
      
      warning: format '%zu' expects argument of type 'size_t', but argument
      2 has type 'long unsigned int' [-Wformat=]
      
      There were many mails about such warnings on different architectures.
      This patch limits itself to the nios2 architecture.
      
      The problem is that for the size_t (%zu, %zd, ...) arguments of
      printf GCC does not verify the type match to size_t type. It verifies
      the type match to the compiler-defined __SIZE_TYPE__ type. Thus, if
      size_t is defined different from __SIZE_TYPE__ - warnings inevitably
      appear.
      
      There is a comment by Thomas Chou to the (rejected) patch:
      http://patchwork.ozlabs.org/patch/272102/
      which explains that the older GCC toolchains (gcc-3.4.6 and gcc-4.1.2)
      expect size_t to be "unsigned long" and the newer expect it to be
      "unsigned int". Thus, no matter how we define size_t - either way
      warnings appear when using some GCC version.
      
      By rejecting that patch, a choice was made to prefer older GCC versions
      and leave the warnings when building with the newer toolchains.
      Personally, I disagree with this choice...
      
      In any case, this patch proposes a way to fix the warnings for any GCC
      version. Just define size_t using the __SIZE_TYPE__ compiler-defined
      type and the type verification will pass.
      
      I tested that this fixes the warning on GCC 4.8.3. I don't have an
      older toolchain to test with, but __SIZE_TYPE__ was definitely defined
      in GCC 3.4.6, so it should work there too.
      Signed-off-by: NVasili Galka <vvv444@gmail.com>
      Signed-off-by: NThomas Chou <thomas@wytron.com.tw>
      00a2517f
  5. 22 8月, 2014 1 次提交