arch/arm, arch/powerpc: add # of SEC engines on the SOC
Some SOCs, specifically the ones in the C29x familiy can have multiple security engines. This patch adds a system configuration define which indicates the maximum number of SEC engines that can be found on a SoC. Signed-off-by: Alex Porosanu <alexandru.porosanu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
@@ -122,7 +122,7 @@ void fdt_del_sec(void *blob, int offset)
|
||||
|
||||
while ((nodeoff = fdt_node_offset_by_compat_reg(blob, "fsl,sec-v6.0",
|
||||
CONFIG_SYS_CCSRBAR_PHYS + CONFIG_SYS_FSL_SEC_OFFSET
|
||||
+ offset * 0x20000)) >= 0) {
|
||||
+ offset * CONFIG_SYS_FSL_SEC_IDX_OFFSET)) >= 0) {
|
||||
fdt_del_node(blob, nodeoff);
|
||||
offset++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user