arch: cxd56xx: wdt: Fix compile error in debug log
Fix compile error when CXD56_WDT_REGDEBUG is enabled.
This commit is contained in:
parent
f0cae6cdf3
commit
6d3fb9ee81
@ -190,6 +190,7 @@ config CXD56_WDT_INTERRUPT
|
||||
config CXD56_WDT_REGDEBUG
|
||||
bool "Register level debug"
|
||||
default n
|
||||
depends on DEBUG_WATCHDOG_INFO
|
||||
---help---
|
||||
Enable low-level register debug output
|
||||
|
||||
|
@ -172,7 +172,7 @@ static uint32_t cxd56_getreg(uintptr_t regaddr)
|
||||
{
|
||||
if (count == 4)
|
||||
{
|
||||
logdebug("...\n");
|
||||
wdinfo("...\n");
|
||||
}
|
||||
|
||||
return regval;
|
||||
@ -189,7 +189,7 @@ static uint32_t cxd56_getreg(uintptr_t regaddr)
|
||||
{
|
||||
/* Yes.. then show how many times the value repeated */
|
||||
|
||||
logdebug("[repeats %d more times]\n", count - 3);
|
||||
wdinfo("[repeats %d more times]\n", count - 3);
|
||||
}
|
||||
|
||||
/* Save the new address, value, and count */
|
||||
@ -201,7 +201,7 @@ static uint32_t cxd56_getreg(uintptr_t regaddr)
|
||||
|
||||
/* Show the register value read */
|
||||
|
||||
logdebug("%08x->%08\n", regaddr, regval);
|
||||
wdinfo("%08x->%08\n", regaddr, regval);
|
||||
return regval;
|
||||
}
|
||||
#endif
|
||||
@ -219,7 +219,7 @@ static void cxd56_putreg(uint32_t regval, uintptr_t regaddr)
|
||||
{
|
||||
/* Show the register value being written */
|
||||
|
||||
logdebug("%08x<-%08x\n", regaddr, regval);
|
||||
wdinfo("%08x<-%08x\n", regaddr, regval);
|
||||
|
||||
/* Write the value */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user