summaryrefslogtreecommitdiff
path: root/drivers/sysreset
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-02-10 09:17:25 -0500
committerTom Rini <[email protected]>2023-02-10 09:17:25 -0500
commit8b301102e246350a0ccedc370f7c9923b02f86f2 (patch)
tree15ddc9d376d630efb4c614c4bda559d3c0c99d64 /drivers/sysreset
parent81e8a51cee2b265e26272f0c67518c4844baa36c (diff)
parent42a13b21dcb6663847ae71c0a42dcf2f4149b69a (diff)
Merge branch '2023-02-08-Kconfig-cleanup-CONFIG_IS_ENABLED-to-IS_ENABLED'
- This series brings in a large number of patches in the form of changing CONFIG_IS_ENABLED(FOO) to IS_ENABLED(CONFIG_FOO) when there it is the case that CONFIG_xPL_FOO is never a valid symbol. The majority of the times where we do this, it is unintentional and does not make the code more useful, or rarely, introduces bugs.
Diffstat (limited to 'drivers/sysreset')
-rw-r--r--drivers/sysreset/sysreset_mpc83xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sysreset/sysreset_mpc83xx.c b/drivers/sysreset/sysreset_mpc83xx.c
index 81fccf95767..c9a03266595 100644
--- a/drivers/sysreset/sysreset_mpc83xx.c
+++ b/drivers/sysreset/sysreset_mpc83xx.c
@@ -120,7 +120,7 @@ static int print_83xx_arb_event(bool force, char *buf, int size)
"Master ID", mstr_id, master[mstr_id],
"Transfer Size", tsize_val, tsize_bytes,
"Transfer Type", ttype, transfer[ttype]);
- } else if (CONFIG_IS_ENABLED(DISPLAY_AER_BRIEF)) {
+ } else if (IS_ENABLED(CONFIG_DISPLAY_AER_BRIEF)) {
res = snprintf(buf, size,
"Arbiter Event Status: AEATR=0x%08lX, AEADR=0x%08lX\n",
gd->arch.arbiter_event_attributes,
@@ -185,7 +185,7 @@ static int mpc83xx_sysreset_get_status(struct udevice *dev, char *buf, int size)
* arbiter driver
*/
if (CONFIG_IS_ENABLED(DISPLAY_AER_FULL) ||
- CONFIG_IS_ENABLED(DISPLAY_AER_BRIEF)) {
+ IS_ENABLED(CONFIG_DISPLAY_AER_BRIEF)) {
/*
* If there was a bus monitor reset event, we force the arbiter
* event to be printed