Skip to content
Snippets Groups Projects
  1. Jul 30, 2014
  2. Jul 29, 2014
  3. Jul 28, 2014
  4. Jul 26, 2014
  5. Jul 25, 2014
    • pekon gupta's avatar
      ARM: omap: move board specific NAND configs out from ti_armv7_common.h · 434f2cfc
      pekon gupta authored
      
      This patch moves some board specific NAND configs:
      - FROM: generic config file 'ti_armv7_common.h'
      - TO:   individual board config files using these configs.
      So that each board can independently set the value as per its design.
      
      Following configs are affected in this patch:
        CONFIG_SYS_NAND_U_BOOT_OFFS: <refer doc/README.nand>
        CONFIG_CMD_SPL_NAND_OFS: <refer doc/README.falcon>
        CONFIG_SYS_NAND_SPL_KERNEL_OFFS: <refer doc/README.falcon>
        CONFIG_CMD_SPL_WRITE_SIZE: <refer doc/README.falcon>
      
      This patch also updates documentation for few of above NAND configs.
      
      Signed-off-by: default avatarPekon Gupta <pekon@ti.com>
      434f2cfc
    • 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
    • Khoronzhuk, Ivan's avatar
      keystone2: use CONFIG_SOC_KEYSTONE in common places · 7c387646
      Khoronzhuk, Ivan authored
      
      Use CONFIG_SOC_KEYSTONE in common places instead of defining
      a lot of "if def .. || if def " for different Keystone2 SoC types.
      
      Acked-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
      Signed-off-by: default avatarIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
      7c387646
    • 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
Loading