1. 31 Aug, 2014 9 commits
  2. 30 Aug, 2014 13 commits
  3. 29 Aug, 2014 4 commits
  4. 25 Aug, 2014 4 commits
    • Lokesh Vutla's avatar
      ARM: DRA: Enable VTT regulator · 7b922523
      Lokesh Vutla authored
      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: default avatarLokesh Vutla <lokeshvutla@ti.com>
      7b922523
    • Sricharan R's avatar
      ARM: DRA7: Enable software leveling for dra7 · f2a1b93b
      Sricharan R authored
      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: default avatarSricharan R <r.sricharan@ti.com>
      Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
      f2a1b93b
    • Vitaly Andrianov's avatar
      keystone2: use EFUSE_BOOTROM information to configure PLLs · 61f66fd5
      Vitaly Andrianov authored
      This patch reads EFUSE_BOOTROM register to see the maximum supported
      clock for CORE and TETRIS PLLs and configure them accordingly.
      Acked-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
      Signed-off-by: default avatarVitaly Andrianov <vitalya@ti.com>
      Signed-off-by: default avatarIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
      61f66fd5
    • pekon gupta's avatar
      board/ti/dra7xx: add support for parallel NOR · 9352697a
      pekon gupta authored
      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
  5. 24 Aug, 2014 4 commits
    • Thomas Chou's avatar
      nios2: remove EPCS driver · 055626ac
      Thomas Chou authored
      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: default avatarThomas Chou <thomas@wytron.com.tw>
      055626ac
    • Thomas Chou's avatar
      nios2: add generic board support · 5ff10aa7
      Thomas Chou authored
      This patch implements the generic board init as described in
      doc/README.generic-board.
      Signed-off-by: default avatarThomas Chou <thomas@wytron.com.tw>
      Signed-off-by: default avatarScott McNutt <smcnutt@psyent.com>
      Reviewed-by: default avatarStefan Roese <sr@denx.de>
      5ff10aa7
    • Thomas Chou's avatar
      70fbc461
    • Vasili Galka's avatar
      nios2: Fix printf size_t format related warnings (again...) · 00a2517f
      Vasili Galka authored
      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: default avatarVasili Galka <vvv444@gmail.com>
      Signed-off-by: default avatarThomas Chou <thomas@wytron.com.tw>
      00a2517f
  6. 21 Aug, 2014 6 commits