summaryrefslogtreecommitdiff
path: root/drivers/misc/fsl_sec_mon.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-05 21:04:24 -0500
committerTom Rini <trini@konsulko.com>2022-12-05 21:04:24 -0500
commitd2ad92927ea91ab8cece92a308350602c594dd3e (patch)
tree23ec41dc6f0aff10b800c69396a32ac5ac926817 /drivers/misc/fsl_sec_mon.c
parent1c470f32f74248ff4aa145bf033fb6524dc7fc2e (diff)
parent7102d324f6b41741ee74587d43d77b302b1bbd96 (diff)
Merge branch '2022-12-05-Kconfig-migrations-and-renames' into next
- First batch of the patches that end up with scripts/config_whitelist.tx being empty. Mostly migrations and a little bit of code removal and CFG renaming.
Diffstat (limited to 'drivers/misc/fsl_sec_mon.c')
-rw-r--r--drivers/misc/fsl_sec_mon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/fsl_sec_mon.c b/drivers/misc/fsl_sec_mon.c
index 321bd27fd32..3597ee22242 100644
--- a/drivers/misc/fsl_sec_mon.c
+++ b/drivers/misc/fsl_sec_mon.c
@@ -10,7 +10,7 @@
static u32 get_sec_mon_state(void)
{
struct ccsr_sec_mon_regs *sec_mon_regs = (void *)
- (CONFIG_SYS_SEC_MON_ADDR);
+ (CFG_SYS_SEC_MON_ADDR);
return sec_mon_in32(&sec_mon_regs->hp_stat) & HPSR_SSM_ST_MASK;
}
@@ -19,7 +19,7 @@ static int set_sec_mon_state_non_sec(void)
u32 sts;
int timeout = 10;
struct ccsr_sec_mon_regs *sec_mon_regs = (void *)
- (CONFIG_SYS_SEC_MON_ADDR);
+ (CFG_SYS_SEC_MON_ADDR);
sts = get_sec_mon_state();
@@ -120,7 +120,7 @@ static int set_sec_mon_state_soft_fail(void)
u32 sts;
int timeout = 10;
struct ccsr_sec_mon_regs *sec_mon_regs = (void *)
- (CONFIG_SYS_SEC_MON_ADDR);
+ (CFG_SYS_SEC_MON_ADDR);
printf("SEC_MON state transitioning to Soft Fail.\n");
sec_mon_setbits32(&sec_mon_regs->hp_com, HPCOMR_SW_FSV);