diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-05-25 16:31:05 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-03-14 21:27:09 +0800 |
commit | e2b204b371a24c5e04f4e9accb17c654a0f7045b (patch) | |
tree | 52aa03f4d2da604628f79b80d157857c7e7dd05e /include/stdio_dev.h | |
parent | 3c85542a223113df88c127af4b5ae1d756182769 (diff) | |
download | u-boot-imx-e2b204b371a24c5e04f4e9accb17c654a0f7045b.zip u-boot-imx-e2b204b371a24c5e04f4e9accb17c654a0f7045b.tar.gz u-boot-imx-e2b204b371a24c5e04f4e9accb17c654a0f7045b.tar.bz2 |
MLK-10958 imx: mx6ul support Bus Encryption Engine
This patch is to support Bus Encryption Engine(BEE) for i.MX 6UL.
Supported feature:
1. SNVS key and soft key
2. CTR and ECB mode
3. Specify address region to bee.
Two commands are included:
bee init [key] [mode] [start] [end] - BEE block initial
"Example: bee init 1 1 0x80000000 0x80010000\n"
bee test [region]
"Example: bee test 1\n"
Mapping:
[0x10000000 - (0x10000000 + size - 1)] : [start - (start + size - 1)]
[0x30000000 - (0x30000000 + IRAM_SIZE - 1)] : [IRAM_BASE_ADDR -
(IRAM_BASE_ADDR + IRAM_SIZE - 1)]
Whatever start is, start - (start + size -1) will be fixed mapping to
0x10000000 - (0x10000000 + size - 1)
Since default AES region's protected size is SZ_512M, so
on mx6ul evk board, you can not simply run 'bee init', it will
overlap with uboot execution environment, you can use
'bee init 0 0 0x80000000 0x81000000'.
If want to use bee, Need to define CONFIG_CMD_BEE in board configuration
header file, since CONFIG_CMD_BEE default is not enabled.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
(cherry picked from commit 29b9bdbbdac9678dba9b7bc2d3662598e9c548a5)
(cherry picked from commit 6d45292ff7e7020a48842f033f8a337daabe4476)
Diffstat (limited to 'include/stdio_dev.h')
0 files changed, 0 insertions, 0 deletions