1. 17 9月, 2016 3 次提交
  2. 07 9月, 2016 4 次提交
    • M
      ARM: armv7: move ARMV7_PSCI_NR_CPUS to Kconfig · 15446988
      Masahiro Yamada 提交于
      Move this option to Kconfig and set its default value to 4; this
      increases the number of supported CPUs for some boards.
      
      It consumes 1KB memory per CPU for PSCI stack, but it should not
      be a big deal, given the amount of memory used for the modern OSes.
      Reviewed-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      15446988
    • M
      ARM: armv7: move CONFIG_ARMV7_PSCI to Kconfig · 217f92bb
      Masahiro Yamada 提交于
      Add ARCH_SUPPORT_PSCI as a non-configurable option that platforms
      can select.  Then, move CONFIG_ARMV7_PSCI, which is automatically
      enabled if both ARMV7_NONSEC and ARCH_SUPPORT_PSCI are enabled.
      Reviewed-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      217f92bb
    • F
      mx6: ddr: Allow changing REFSEL and REFR fields · edf00937
      Fabio Estevam 提交于
      Currently MX6 SPL DDR initialization hardcodes the REF_SEL and
      REFR fields of the MDREF register as 1 and 7, respectively for
      DDR3 and 0 and 3 for LPDDR2.
      
      Looking at the MDREF initialization done via DCD we see that
      boards do need to initialize these fields differently:
      
      $ git grep 0x021b0020 board/
      board/bachmann/ot1200/mx6q_4x_mt41j128.cfg:DATA 4 0x021b0020 0x00005800
      board/ccv/xpress/imximage.cfg:DATA 4 0x021b0020 0x00000800 /* MMDC0_MDREF */
      board/freescale/mx6qarm2/imximage.cfg:DATA 4 0x021b0020 0x7800
      board/freescale/mx6qarm2/imximage.cfg:DATA 4 0x021b0020 0x00005800
      board/freescale/mx6qarm2/imximage_mx6dl.cfg:DATA 4 0x021b0020 0x00005800
      board/freescale/mx6qarm2/imximage_mx6dl.cfg:DATA 4 0x021b0020 0x00005800
      board/freescale/mx6qsabreauto/imximage.cfg:DATA 4 0x021b0020 0x00005800
      board/freescale/mx6qsabreauto/mx6dl.cfg:DATA 4 0x021b0020 0x00005800
      board/freescale/mx6qsabreauto/mx6qp.cfg:DATA 4 0x021b0020 0x00005800
      board/freescale/mx6sabresd/mx6dlsabresd.cfg:DATA 4      0x021b0020 0x00005800
      board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg:DATA 4 0x021b0020 0x00005800
      board/freescale/mx6slevk/imximage.cfg:DATA 4 0x021b0020 0x00001800
      board/freescale/mx6sxsabreauto/imximage.cfg:DATA 4 0x021b0020 0x00000800
      board/freescale/mx6sxsabresd/imximage.cfg:DATA 4 0x021b0020 0x00000800
      board/warp/imximage.cfg:DATA 4 0x021b0020 0x00001800
      
      So introduce a mechanism for users to be able to configure
      REFSEL and REFR fields as needed.
      
      Keep all the mx6 SPL users in their current REF_SEL and REFR values,
      so no functional changes for the existing users.
      Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com>
      Reviewed-by: NEric Nelson <eric@nelint.com>
      edf00937
    • A
      arm: imx: Add support for Advantech DMS-BA16 board · ff383220
      Akshay Bhat 提交于
      Add support for Advantech DMS-BA16 board. The board is based on Advantech
      BA16 module which has a i.MX6D processor. The board supports:
       - FEC Ethernet
       - USB Ports
       - SDHC and MMC boot
       - SPI NOR
       - LVDS and HDMI display
      
      Basic information about the module:
       - Module manufacturer: Advantech
       - CPU: Freescale ARM Cortex-A9 i.MX6D
       - SPECS:
           Up to 2GB Onboard DDR3 Memory;
           Up to 16GB Onboard eMMC NAND Flash
           Supports OpenGL ES 2.0 and OpenVG 1.1
           HDMI, 24-bit LVDS
           1x UART, 2x I2C, 8x GPIO,
           4x Host USB 2.0 port, 1x USB OTG port,
           1x micro SD (SDHC),1x SDIO, 1x SATA II,
           1x 10/100/1000 Mbps Ethernet, 1x PCIe X1 Gen2
      Signed-off-by: NAkshay Bhat <akshay.bhat@timesys.com>
      Cc: u-boot@lists.denx.de
      Cc: sbabic@denx.de
      ff383220
  3. 21 8月, 2016 2 次提交
  4. 17 8月, 2016 1 次提交
  5. 12 8月, 2016 2 次提交
  6. 06 8月, 2016 1 次提交
    • T
      omap3: Drop omap3_evm_quick_* targets · 584550d7
      Tom Rini 提交于
      These config targets were added well before the Kconfig migration began
      as a way to demonstrate how to make these platforms work with cut down
      features.  At this point in time they no longer serve a good purpose so
      remove them.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      584550d7
  7. 05 8月, 2016 3 次提交
    • T
      omap3: Move to select SUPPORT_SPL for all · a2ea62e8
      Tom Rini 提交于
      In reality all omap3 platforms support SPL so move the select for this
      up a level.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      a2ea62e8
    • M
      treewide: move CONFIG_PHYS_64BIT to Kconfig · bb6b142f
      Masahiro Yamada 提交于
      We need to ensure that CONFIG_PHYS_64BIT is configured via Kconfig so
      that it is always available to the build system.  Otherwise we can run
      into cases where we have inconsistent sizes of certain attributes.
      
      Ravi Babu reported offset mismatch of struct dwc3 across files since
      commit 95ebc253 ("types.h: move and redefine resource_size_t").
      Since the commit, resource_addr_t points to phys_addr_t, whose size
      is dependent on CONFIG_PHYS_64BIT for ARM architecture.
      
      I tried my best to use "select" where possible (for example, ARMv8
      architecture) because I think this kind of option is generally user-
      unconfigurable.  However, I see some of PowerPC boards have 36BIT
      defconfigs as well as 32BIT ones.  I moved CONFIG_PHYS_64BIT to the
      defconfigs for such boards.
      
      CONFIG_36BIT is no longer referenced, so all of the defines were
      removed from CONFIG_SYS_EXTRA_OPTIONS.
      
      Fixes: 95ebc253 ("types.h: move and redefine resource_size_t")
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reported-by: NRavi Babu <ravibabu@ti.com>
      Acked-by: NStefan Roese <sr@denx.de>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NYork Sun <york.sun@nxp.com>
      bb6b142f
    • T
      ARM: Rework and correct barrier definitions · a78cd861
      Tom Rini 提交于
      As part of testing booting Linux kernels on Rockchip devices, it was
      discovered by Ziyuan Xu and Sandy Patterson that we had multiple and for
      some cases incomplete isb definitions.  This was causing a failure to
      boot of the Linux kernel.
      
      In order to solve this problem as well as cover any corner cases that we
      may also have had a number of changes are made in order to consolidate
      things.  First, <asm/barriers.h> now becomes the source of isb/dsb/dmb
      definitions.  This however introduces another complexity.  Due to
      needing to build SPL for 32bit tegra with -march=armv4 we need to borrow
      the __LINUX_ARM_ARCH__ logic from the Linux Kernel in a more complete
      form.  Move this from arch/arm/lib/Makefile to arch/arm/Makefile and add
      a comment about it.  Now that we can always know what the target CPU is
      capable off we can get always do the correct thing for the barrier.  The
      final part of this is that need to be consistent everywhere and call
      isb()/dsb()/dmb() and NOT call ISB/DSB/DMB in some cases and the
      function names in others.
      Reviewed-by: NStephen Warren <swarren@nvidia.com>
      Tested-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NZiyuan Xu <xzy.xu@rock-chips.com>
      Acked-by: NSandy Patterson <apatterson@sightlogix.com>
      Reported-by: NZiyuan Xu <xzy.xu@rock-chips.com>
      Reported-by: NSandy Patterson <apatterson@sightlogix.com>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      a78cd861
  8. 30 7月, 2016 1 次提交
  9. 28 7月, 2016 1 次提交
    • S
      colibri_imx7: add Colibri iMX7S/iMX7D module support · ae440ab0
      Stefan Agner 提交于
      This commit adds support for the Toradex Computer on Modules
      Colibri iMX7S/iMX7D. The two modules/SoC's are very similar hence
      can be easily supported by one board. The board code detects RAM
      size at runtime which is one of the differences between the two
      boards. The board also uses the UART's in DTE mode, hence making
      use of the new DTE support via serial DM.
      Signed-off-by: NStefan Agner <stefan.agner@toradex.com>
      ae440ab0
  10. 27 7月, 2016 3 次提交
  11. 26 7月, 2016 2 次提交
    • R
      ARM: am33xx: Always inhibit init/refresh during DDR phy init · 335b4e53
      Russ Dill 提交于
      A couple of commits have modified the am33xx/am437x ddr2/ddr3
      initialization path to fix certain issues, but have had the side effect
      of causing L3 noc errors during initialization. The two commits are:
      
      69b918 "am33xx,ddr3: fix ddr3 sdram configuration"
      fc46ba "arm: am437x: Enable hardware leveling for EMIF"
      
      The EMIF_REG_INITREF_DIS_MASK bit still needs to be set for all
      platforms. This delays initialization and refresh until a later stage.
      The 500us timer can be programmed for platforms that require it
      and for platforms that don't require it. It is currently hardcoded
      for 400MHz systems. For systems with a higher memory frequency
      this needs to be a larger value, and for systems with a lower
      memory frequency this can be a lower value. This can be
      considered a separate issue and corrected in a later commit.
      Signed-off-by: NRuss Dill <Russ.Dill@ti.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      335b4e53
    • R
      ARM: am33xx: Fix DDR init delay placement · 3325b065
      Russ Dill 提交于
      The delay needs to be before the write to ref_ctrl register
      which initiates refreshes. An improper initialization sequence
      generates an L3 noc error.
      Signed-off-by: NRuss Dill <Russ.Dill@ti.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      3325b065
  12. 23 7月, 2016 5 次提交
  13. 22 7月, 2016 1 次提交
  14. 21 7月, 2016 1 次提交
    • F
      mx6: clock: Fix the logic for reading axi_alt_sel · 8f2e2f15
      Fabio Estevam 提交于
      According to the IMX6DQRM Reference Manual, the description
      of bit 7 (axi_alt_sel) of the CCM_CBCDR register is:
      
      "AXI alternative clock select
      0 pll2 396MHz PFD will be selected as alternative clock for AXI root clock
      1 pll3 540MHz PFD will be selected as alternative clock for AXI root clock "
      
      The current logic is inverted, so fix it to match the reference manual.
      Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com>
      8f2e2f15
  15. 20 7月, 2016 3 次提交
  16. 16 7月, 2016 1 次提交
    • R
      Various, unrelated tree-wide typo fixes. · 62a3b7dd
      Robert P. J. Day 提交于
          Fix a number of typos, including:
      
           * "compatble" -> "compatible"
           * "eanbeld" -> "enabled"
           * "envrionment" -> "environment"
           * "FTD" -> "FDT" (for "flattened device tree")
           * "ommitted" -> "omitted"
           * "overriden" -> "overridden"
           * "partiton" -> "partition"
           * "propogate" -> "propagate"
           * "resourse" -> "resource"
           * "rest in piece" -> "rest in peace"
           * "suport" -> "support"
           * "varible" -> "variable"
      Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca>
      62a3b7dd
  17. 15 7月, 2016 6 次提交