summaryrefslogtreecommitdiffstats
path: root/board/freescale
diff options
context:
space:
mode:
authorAlex Porosanu <alexandru.porosanu@freescale.com>2016-04-29 15:17:59 +0300
committerYork Sun <york.sun@nxp.com>2016-05-18 08:51:46 -0700
commit404bf4547ecb4c1409ae0936444fe02ba978e510 (patch)
treee14f64305300fd146d512de1d23a563fb0aa25d7 /board/freescale
parente99d7193593cf6331ea04cd394a9a4cf18886ef0 (diff)
downloadblackbird-obmc-uboot-404bf4547ecb4c1409ae0936444fe02ba978e510.tar.gz
blackbird-obmc-uboot-404bf4547ecb4c1409ae0936444fe02ba978e510.zip
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>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/c29xpcie/c29xpcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/c29xpcie/c29xpcie.c b/board/freescale/c29xpcie/c29xpcie.c
index e325b4db4a..45f463f01f 100644
--- a/board/freescale/c29xpcie/c29xpcie.c
+++ b/board/freescale/c29xpcie/c29xpcie.c
@@ -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++;
}
OpenPOWER on IntegriCloud