aboutsummaryrefslogtreecommitdiff
path: root/include/fsl_sec.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-10-28 20:27:13 -0400
committerTom Rini <trini@konsulko.com>2022-11-10 10:08:55 -0500
commit6cc04547cb3bbd3a3d78947f200acbae19e3c67f (patch)
tree518a634e223bfb02d08ca359331a4ec08c20513c /include/fsl_sec.h
parent5155207ae1a0797a99c0a5f4e99741960ff04697 (diff)
global: Migrate CONFIG_SYS_FSL* symbols to the CFG_SYS namespace
Migrate all of COFIG_SYS_FSL* to the CFG_SYS namespace. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/fsl_sec.h')
-rw-r--r--include/fsl_sec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fsl_sec.h b/include/fsl_sec.h
index d57c4ca820..d8861d1d0b 100644
--- a/include/fsl_sec.h
+++ b/include/fsl_sec.h
@@ -272,7 +272,7 @@ struct sg_entry {
#if defined(CONFIG_MX6) || defined(CONFIG_MX7) || \
defined(CONFIG_MX7ULP) || defined(CONFIG_IMX8M) || defined(CONFIG_IMX8)
/* Job Ring Base Address */
-#define JR_BASE_ADDR(x) (CONFIG_SYS_FSL_SEC_ADDR + 0x1000 * (x + 1))
+#define JR_BASE_ADDR(x) (CFG_SYS_FSL_SEC_ADDR + 0x1000 * (x + 1))
/* Secure Memory Offset varies accross versions */
#define SM_V1_OFFSET 0x0f4
#define SM_V2_OFFSET 0xa00
@@ -287,7 +287,7 @@ struct sg_entry {
/* JR Allocation Error */
#define SMCSJR_AERR (3 << 12)
/* Secure memory partition 0 page 0 owner register */
-#define CAAM_SMPO_0 (CONFIG_SYS_FSL_SEC_ADDR + 0x1FBC)
+#define CAAM_SMPO_0 (CFG_SYS_FSL_SEC_ADDR + 0x1FBC)
/* Secure memory command register */
#define CAAM_SMCJR(v, jr) (JR_BASE_ADDR(jr) + SM_OFFSET(v) + SM_CMD(v))
/* Secure memory command status register */