]> git.sur5r.net Git - u-boot/commit
mx7: psci: add basic psci support
authorPeng Fan <Peng.Fan@freescale.com>
Fri, 23 Oct 2015 02:13:04 +0000 (10:13 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 12 Nov 2015 16:31:16 +0000 (17:31 +0100)
commit7de4703691498e18c58f375d724818e4d0db6223
tree080824ec20f880eda1c4500ee33a11b14107aca0
parentd47cb0b61aa9e268f140455b2bc4421ae9e0b4bc
mx7: psci: add basic psci support

1. add basic psci support for imx7 chip.
2. support cpu_on and cpu_off.
3. switch to non-secure mode when boot linux kernel.
4. set csu allow accessing all peripherial register in non-secure mode.

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/armv7/mx7/Makefile
arch/arm/cpu/armv7/mx7/psci-mx7.c [new file with mode: 0644]
arch/arm/cpu/armv7/mx7/psci.S [new file with mode: 0644]
arch/arm/cpu/armv7/mx7/soc.c
arch/arm/include/asm/arch-mx7/imx-regs.h