global: Migrate CONFIG_WATCHDOG_PRESC et al to CFG

Perform simple renames of:
   CONFIG_WATCHDOG_PRESC to CFG_WATCHDOG_PRESC
   CONFIG_WATCHDOG_RC to CFG_WATCHDOG_RC

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-12-04 10:14:06 -05:00
parent 438654c87c
commit bb34410509
2 changed files with 3 additions and 3 deletions

View File

@ -357,7 +357,7 @@ void
init_85xx_watchdog(void) init_85xx_watchdog(void)
{ {
mtspr(SPRN_TCR, (mfspr(SPRN_TCR) & ~WATCHDOG_MASK) | mtspr(SPRN_TCR, (mfspr(SPRN_TCR) & ~WATCHDOG_MASK) |
TCR_WP(CONFIG_WATCHDOG_PRESC) | TCR_WRC(CONFIG_WATCHDOG_RC)); TCR_WP(CFG_WATCHDOG_PRESC) | TCR_WRC(CFG_WATCHDOG_RC));
} }
void void

View File

@ -364,8 +364,8 @@ int get_scl(void);
/* /*
* Hardware Watchdog * Hardware Watchdog
*/ */
#define CONFIG_WATCHDOG_PRESC 34 /* wdog prescaler 2^(64-34) ~10min */ #define CFG_WATCHDOG_PRESC 34 /* wdog prescaler 2^(64-34) ~10min */
#define CONFIG_WATCHDOG_RC WRC_CHIP /* reset chip on watchdog event */ #define CFG_WATCHDOG_RC WRC_CHIP /* reset chip on watchdog event */
/* /*
* For booting Linux, the board info and command line data * For booting Linux, the board info and command line data