Skip to content
Snippets Groups Projects
  1. Mar 09, 2016
    • Akshay Bhat's avatar
      arm: imx: Add support for GE Bx50v3 boards · f9162b15
      Akshay Bhat authored
      
      Add support for GE B450v3, B650v3 and B850v3 boards. The boards
      are based on Advantech BA16 module which has a i.MX6D processor.
      The boards support:
       - 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: default avatarAkshay Bhat <akshay.bhat@timesys.com>
      Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
      f9162b15
  2. Mar 08, 2016
  3. Feb 29, 2016
  4. Feb 24, 2016
  5. Feb 23, 2016
  6. Feb 21, 2016
    • Peng Fan's avatar
      imx: mx7d: isolate resources to domain 0 for A7 core · 35c4ce5e
      Peng Fan authored
      
      In current design, if any peripheral was assigned to both A7 and M4,
      it will receive ipg_stop or ipg_wait when any of the 2 platforms
      enter low power mode. We will have a risk that, if A7 enter wait,
      M4 enter stop, peripheral will have chance to get ipg_stop and ipg_wait
      asserted same time. Also if M4 enters stop mode, A7 will have no
      chance to access the peripheral.
      There are 26 peripherals affected by this IC issue:
      SIM2(sim2/emvsim2)
      SIM1(sim1/emvsim1)
      UART1/UART2/UART3/UART4/UART5/UART6/UART7
      SAI1/SAI2/SAI3
      WDOG1/WDOG2/WDOG3/WDOG4
      GPT1/GPT2/GPT3/GPT4
      PWM1/PWM2/PWM3/PWM4
      ENET1/ENET2
      Software Workaround:
      The solution is to set the peripherals to Domain0 by A core, since A core
      in Domain0. The peripherals which will be used by M4, will be set to Domain1
      by M4.
      For example, A core set WDOG4 to domain0, but when M4 boots up, M4 will
      set WDOG4 to domain1, because M4 will use WDOG4.
      
      So the peripherals are not shared by them. This way requires
      the uboot implemented the RDC driver and set the 26 IPs above
      to domain 0 only. M4 image will set the M4 to domain 1 and
      set peripheral which it will use to domain 1.
      
      This patch enables the CONFIG_IMX_RDC and CONFIG_IMX_BOOTAUX for
      i.MX7D SABRESD board, and setup the 26 IP resources to domain 0.
      
      Signed-off-by: default avatarYe.Li <ye.li@nxp.com>
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      35c4ce5e
    • Peng Fan's avatar
      imx: mx7: implement functions to boot auxiliary core · 83703a1c
      Peng Fan authored
      
      Implement arch_auxiliary_core_up and arch_auxiliary_core_check_up.
      
      arch_auxiliary_core_check_up is used to check whether M4 is running
      or not. arch_auxiliary_core_up is to boot M4 core, the m4 core will
      use the pc and stack which is set in arch_auxiliary_core_up to set R15
      and R13 register and boot.
      
      Signed-off-by: default avatarYe.Li <ye.li@nxp.com>
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      83703a1c
    • Peng Fan's avatar
      imx: mx6: implement functions to boot auxiliary core · 0623d375
      Peng Fan authored
      
      Implement arch_auxiliary_core_up and arch_auxiliary_core_check_up.
      
      arch_auxiliary_core_check_up is used to check whether M4 is running
      or not. arch_auxiliary_core_up is to boot M4 core, the m4 core will
      use the pc and stack which is set in arch_auxiliary_core_up to set R15
      and R13 register and boot.
      
      Signed-off-by: default avatarYe.Li <ye.li@nxp.com>
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      0623d375
    • Peng Fan's avatar
      imx: mx7d: clock support for RDC · 677656bd
      Peng Fan authored
      
      If CONFIG_IMX_RDC is enabled, enable clock for RDC and SEMAPHORE.
      
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      677656bd
    • Soeren Moch's avatar
      imx: mx6: Implement mmc_get_env_part · 1a43dc11
      Soeren Moch authored
      
      commit 216d286c [imx: mx6: implement
      mmc_get_env_dev] introduced selection of the environment device according
      to the boot device when booting from SD/MMC.
      
      Extend this functionality for also selecting the device partition.
      
      Signed-off-by: default avatarSoeren Moch <smoch@web.de>
      1a43dc11
  7. Feb 08, 2016
  8. Feb 06, 2016
  9. Feb 04, 2016
    • Peng Fan's avatar
      imx: mx6: implement mmc_get_env_dev · 216d286c
      Peng Fan authored
      
      Implement mmc_get_env_dev, devno can be got from smbr1 of SRC.
      Introduce a weak function board_mmc_get_env_dev, different
      boards can implement it according to different sdhc controllers
      that used by the board.
      
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      216d286c
    • Peng Fan's avatar
      imx: mx7dsabresd: move mmc_get_env_devno to soc code · 62d8cce9
      Peng Fan authored
      
      Move mmc_get_env_devno to soc.c and rename to mmc_get_env_dev to
      match the one in common/env_mmc.c.
      Introduce a weak function board_mmc_get_env_dev. Different
      boards can implement this according to sdhc controller which
      is used by the board.
      
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      62d8cce9
  10. Feb 02, 2016
  11. Jan 31, 2016
    • Marek Vasut's avatar
      arm: cache: Implement cache range check for v7 · 11aa6a32
      Marek Vasut authored
      
      Add code to aid tracking down cache alignment issues.
      In case DEBUG is defined in the cache.c, this code will
      check alignment of each attempt to flush/invalidate data
      cache and print a warning if the alignment is incorrect.
      If DEBUG is not defined, this code is optimized out.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@konsulko.com>
      11aa6a32
  12. Jan 28, 2016
  13. Jan 26, 2016
  14. Jan 25, 2016
  15. Jan 24, 2016
    • Peng Fan's avatar
      imx: mx7: default enable MDIO open drain · d9699de8
      Peng Fan authored
      
      The management data input/output (MDIO) requires open-drain,
      i.MX7D TO1.0 ENET MDIO pin has no open drain, but TO1.1 supports
      this feature. So to TO1.1, need to enable open drain by setting
      bits GPR0[8:7] for TO1.1.
      
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      d9699de8
    • Peng Fan's avatar
      imx: mx6ul/sx: fix mmdc_ch0 clk calculation · 9ba18ff8
      Peng Fan authored
      
      Check "Figure 19-5. BUS clock generation" of i.MX 6SoloX Applications
      Processor Reference Manual and "Figure 18-5. BUS clock generation" of
      i.MX 6UltraLite Applications Processor Reference Manual. If mmdc clk
      sources from pll4_main_clk(pll_audio), the calculation is wrong.
      
      Fix mmdc_ch0 clk calculation. Also add PLL_AUDIO/VIDEO support
      for decode_pll.
      
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      9ba18ff8
  16. Jan 21, 2016
  17. Jan 20, 2016
  18. Jan 08, 2016
  19. Jan 03, 2016
  20. Dec 15, 2015
  21. Dec 14, 2015
Loading