1. 25 Feb, 2016 1 commit
  2. 23 Feb, 2016 13 commits
  3. 22 Feb, 2016 19 commits
  4. 21 Feb, 2016 7 commits
    • Tom Rini's avatar
      595af9db
    • 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: mx7dsabresd: add command and macros for boot m4 core · 79e355fb
      Peng Fan authored
      Introduce macros and command to support booting M4 core for
      i.MX7D SabreSD board.
      Signed-off-by: default avatarYe.Li <ye.li@nxp.com>
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      79e355fb
    • 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: mx6sxsabresd: add command and macros for boot m4 core · 3fe0b104
      Peng Fan authored
      Introduce macros and command to support booting M4 core for
      i.MX6SX SabreSD board.
      Signed-off-by: default avatarYe.Li <ye.li@nxp.com>
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      3fe0b104
    • 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: imx-common: introduce boot auxiliary core · 6f6058bf
      Peng Fan authored
      To boot a auxiliary core in asymmetric multicore system, introduce the
      new command "bootaux" to do it. Example of boot auxliary core from
      0x70000000 where stores the boot head information that should be
      parsed by auxiliary core, "bootaux 0x70000000".
      Introduce Kconfig option IMX_BOOTAUX.
      Signed-off-by: default avatarYe.Li <ye.li@nxp.com>
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      6f6058bf