diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-10-23 10:13:04 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-11-12 17:31:16 +0100 |
commit | 7de4703691498e18c58f375d724818e4d0db6223 (patch) | |
tree | 080824ec20f880eda1c4500ee33a11b14107aca0 /arch/arm/include/asm/arch-mx7 | |
parent | d47cb0b61aa9e268f140455b2bc4421ae9e0b4bc (diff) | |
download | u-boot-7de4703691498e18c58f375d724818e4d0db6223.tar.gz u-boot-7de4703691498e18c58f375d724818e4d0db6223.tar.xz u-boot-7de4703691498e18c58f375d724818e4d0db6223.zip |
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>
Diffstat (limited to 'arch/arm/include/asm/arch-mx7')
-rw-r--r-- | arch/arm/include/asm/arch-mx7/imx-regs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx7/imx-regs.h b/arch/arm/include/asm/arch-mx7/imx-regs.h index 4dc11ee981..9213374ac0 100644 --- a/arch/arm/include/asm/arch-mx7/imx-regs.h +++ b/arch/arm/include/asm/arch-mx7/imx-regs.h @@ -866,6 +866,9 @@ struct cspi_regs { ECSPI3_BASE_ADDR, \ ECSPI4_BASE_ADDR +#define CSU_INIT_SEC_LEVEL0 0x00FF00FF +#define CSU_NUM_REGS 64 + struct ocotp_regs { u32 ctrl; u32 ctrl_set; |