Skip to content
Snippets Groups Projects
  1. Aug 25, 2014
    • 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
  2. Aug 04, 2014
  3. Aug 01, 2014
  4. Jul 31, 2014
  5. Jul 30, 2014
    • Masahiro Yamada's avatar
      powerpc: remove redundant CPU definition · c6d12624
      Masahiro Yamada authored
      
      CONFIG_${CPU} is defined by Kconfig.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      Acked-by: default avatarStefan Roese <sr@denx.de>
      c6d12624
    • Masahiro Yamada's avatar
      kconfig: delete redundant CONFIG_${ARCH} definition · 90f984e3
      Masahiro Yamada authored
      
      CONFIG_${ARCH} is defined by Kconfig.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      90f984e3
    • Masahiro Yamada's avatar
      kconfig: switch to Kconfig · 51148790
      Masahiro Yamada authored
      
      This commit enables Kconfig.
      Going forward, we use Kconfig for the board configuration.
      mkconfig will never be used. Nor will include/config.mk be generated.
      
      Kconfig must be adjusted for U-Boot because our situation is
      a little more complicated than Linux Kernel.
      We have to generate multiple boot images (Normal, SPL, TPL)
      from one source tree.
      Each image needs its own configuration input.
      
      Usage:
      
      Run "make <board>_defconfig" to do the board configuration.
      
      It will create the .config file and additionally spl/.config, tpl/.config
      if SPL, TPL is enabled, respectively.
      
      You can use "make config", "make menuconfig" etc. to create
      a new .config or modify the existing one.
      
      Use "make spl/config", "make spl/menuconfig" etc. for spl/.config
      and do likewise for tpl/.config file.
      
      The generic syntax of configuration targets for SPL, TPL is:
      
        <target_image>/<config_command>
      
      Here, <target_image> is either 'spl' or 'tpl'
            <config_command> is 'config', 'menuconfig', 'xconfig', etc.
      
      When the configuration is done, run "make".
      (Or "make <board>_defconfig all" will do the configuration and build
      in one time.)
      
      For futher information of how Kconfig works in U-Boot,
      please read the comment block of scripts/multiconfig.py.
      
      By the way, there is another item worth remarking here:
      coexistence of Kconfig and board herder files.
      
      Prior to Kconfig, we used C headers to define a set of configs.
      
      We expect a very long term to migrate from C headers to Kconfig.
      Two different infractructure must coexist in the interim.
      
      In our former configuration scheme, include/autoconf.mk was generated
      for use in makefiles.
      It is still generated under include/, spl/include/, tpl/include/ directory
      for the Normal, SPL, TPL image, respectively.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      51148790
    • Masahiro Yamada's avatar
      kconfig: add basic Kconfig files · 51631259
      Masahiro Yamada authored
      
      This commit adds more Kconfig files, which were written by hand.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      51631259
    • Masahiro Yamada's avatar
      kconfig: add board Kconfig and defconfig files · dd84058d
      Masahiro Yamada authored
      
      This commit adds:
       - arch/${ARCH}/Kconfig
          provide a menu to select target boards
       - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
          set CONFIG macros to the appropriate values for each board
       - configs/${TARGET_BOARD}_defconfig
          default setting of each board
      
      (This commit was automatically generated by a conversion script
      based on boards.cfg)
      
      In Linux Kernel, defconfig files are located under
      arch/${ARCH}/configs/ directory.
      It works in Linux Kernel since ARCH is always given from the
      command line for cross compile.
      
      But in U-Boot, ARCH is not given from the command line.
      Which means we cannot know ARCH until the board configuration is done.
      That is why all the "*_defconfig" files should be gathered into a
      single directory ./configs/.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      dd84058d
  6. Jul 28, 2014
  7. Jul 25, 2014
    • pekon gupta's avatar
      ARM: omap: clean redundant PISMO_xx macros used in OMAP3 · 222a3113
      pekon gupta authored
      
      PISMO_xx macros were used to define 'Platform Independent Storage MOdule'
      related GPMC configurations. This patch
      - Replaces these OMAP3 specific macros with generic CONFIG_xx macros as provided
        by current u-boot infrastructure.
      - Removes unused redundant macros, which are no longer required after
        merging of common platform code in following commit
            commit a0a37183
            ARM: omap: merge GPMC initialization code for all platform
      
      +-----------------+-----------------------------------------------------------+
      | Macro           | Reason for removal                                        |
      +-----------------+-----------------------------------------------------------+
      | PISMO1_NOR_BASE | duplicate of CONFIG_SYS_FLASH_BASE                        |
      +-----------------+-----------------------------------------------------------+
      | PISMO1_NAND_BASE| duplicate of CONFIG_SYS_NAND_BASE                         |
      +-----------------+-----------------------------------------------------------+
      | PISMO1_ONEN_BASE| duplicate of CONFIG_SYS_ONENAND_BASE                      |
      +-----------------+-----------------------------------------------------------+
      | PISMO1_NAND_SIZE| GPMC accesses NAND device via I/O mapped registers so     |
      |                 | configuring GPMC chip-select for smallest allowable       |
      |                 | segment (GPMC_SIZE_16M) is enough.                        |
      +-----------------+-----------------------------------------------------------+
      | PISMO1_ONEN_SIZE| OneNAND uses a fixed GPMC chip-select address-space of    |
      |                 | 128MB (GPMC_SIZE_128M)                                    |
      +-----------------+-----------------------------------------------------------+
      +-----------------+-----------------------------------------------------------+
      | PISMO1_NOR      |  Unused Macros                                            |
      | PISMO1_NAND     |                                                           |
      | PISMO2_CS0      |                                                           |
      | PISMO2_CS1      |                                                           |
      | PISMO1_ONENAND  |                                                           |
      | PISMO2_NAND_CS0 |                                                           |
      | PISMO2_NAND_CS1 |                                                           |
      | PISMO1_NOR_BASE |                                                           |
      | PISMO1_NAND_BASE|                                                           |
      | PISMO2_CS0_BASE |                                                           |
      +-----------------+-----------------------------------------------------------+
      
      Signed-off-by: default avatarPekon Gupta <pekon@ti.com>
      222a3113
    • pekon gupta's avatar
      ARM: omap: fix GPMC address-map size for NAND and NOR devices · 77cd89e7
      pekon gupta authored
      
      Fixes commit a0a37183
          ARM: omap: merge GPMC initialization code for all platform
      
      1) NAND device are not directly memory-mapped to CPU address-space, they are
       indirectly accessed via following GPMC registers:
       - GPMC_NAND_COMMAND_x
       - GPMC_NAND_ADDRESS_x
       - GPMC_NAND_DATA_x
       Therefore from CPU's point of view, NAND address-map can be limited to just
       above register addresses. But GPMC chip-select address-map can be configured
       in granularity of 16MB only.
       So this patch uses GPMC_SIZE_16M for all NAND devices.
      
      2) NOR device are directly memory-mapped to CPU address-space, so its
       address-map size depends on actual addressable region in NOR FLASH device.
       So this patch uses CONFIG_SYS_FLASH_SIZE to derive GPMC chip-select address-map
       size configuration.
      
      Signed-off-by: default avatarPekon Gupta <pekon@ti.com>
      77cd89e7
    • Rajendra Nayak's avatar
      ARM: OMAP: Fix handling of errata i727 · 8c16dd6f
      Rajendra Nayak authored
      
      The errata is applicable on all OMAP4 (4430 and 4460/4470) and OMAP5
      ES 1.0 devices. The current revision check erroneously implements this
      on all DRA7 varients and with DRA722 device (which has only 1 EMIF instance)
      infact causes an asynchronous abort and ends up masking it in CPSR,
      only to be uncovered once the kernel switches to userspace.
      
      Signed-off-by: default avatarRajendra Nayak <rnayak@ti.com>
      Signed-off-by: default avatarSricharan R <r.sricharan@ti.com>
      Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
      8c16dd6f
    • Hao Zhang's avatar
      board: k2e-evm: add board support · a9068479
      Hao Zhang authored
      
      This patch adds Keystone2 k2e_evm evaluation board support.
      
      Signed-off-by: default avatarHao Zhang <hzhang@ti.com>
      Signed-off-by: default avatarIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
      a9068479
    • Khoronzhuk, Ivan's avatar
      ARM: keystone2: spl: add K2E SoC support · 1284246e
      Khoronzhuk, Ivan authored
      
      Keystone2 K2E SoC has slightly different spl pll settings then
      K2HK, so correct this.
      
      Acked-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
      Signed-off-by: default avatarIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
      1284246e
    • Hao Zhang's avatar
      ARM: keystone2: add MSMC cache coherency support for K2E SOC · 20187fd1
      Hao Zhang authored
      
      This patch adds Keystone2 K2E SOC specific code to support
      MSMC cache coherency. Also create header file for msmc to hold
      its API.
      
      Acked-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
      Signed-off-by: default avatarHao Zhang <hzhang@ti.com>
      Signed-off-by: default avatarIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
      20187fd1
    • Hao Zhang's avatar
      ARM: keystone2: clock: add K2E clock support · 4dca7f0a
      Hao Zhang authored
      
      This patch adds clock definitions and commands to support Keystone2
      K2E SOC.
      
      Signed-off-by: default avatarHao Zhang <hzhang@ti.com>
      Signed-off-by: default avatarIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
      4dca7f0a
    • Hao Zhang's avatar
      ARM: keystone2: add K2E SoC hardware definitions · 5c76f788
      Hao Zhang authored
      
      This patch adds hardware definitions specific to Keystone II
      K2E device. It has a lot common definitions with k2hk SoC, so
      move them to common hardware.h. This is preparation patch for
      adding K2E SoC support.
      
      Acked-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
      Signed-off-by: default avatarHao Zhang <hzhang@ti.com>
      Signed-off-by: default avatarIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
      5c76f788
Loading