Correct SPL uses of HW_WATCHDOG
This converts 2 usages of this option to the non-SPL form, since there is no SPL_HW_WATCHDOG defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
This commit is contained in:
parent
b84d23d0cd
commit
066640f3b8
|
|
@ -288,7 +288,7 @@ static int aspeed_hace_digest_wd(struct udevice *dev, enum HASH_ALGO algo,
|
||||||
if (rc)
|
if (rc)
|
||||||
return rc;
|
return rc;
|
||||||
|
|
||||||
if (CONFIG_IS_ENABLED(HW_WATCHDOG) || CONFIG_IS_ENABLED(WATCHDOG)) {
|
if (IS_ENABLED(CONFIG_HW_WATCHDOG) || CONFIG_IS_ENABLED(WATCHDOG)) {
|
||||||
cur = ibuf;
|
cur = ibuf;
|
||||||
end = ibuf + ilen;
|
end = ibuf + ilen;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -244,7 +244,7 @@ static int sw_hash_digest_wd(struct udevice *dev, enum HASH_ALGO algo,
|
||||||
if (rc)
|
if (rc)
|
||||||
return rc;
|
return rc;
|
||||||
|
|
||||||
if (CONFIG_IS_ENABLED(HW_WATCHDOG) || CONFIG_IS_ENABLED(WATCHDOG)) {
|
if (IS_ENABLED(CONFIG_HW_WATCHDOG) || CONFIG_IS_ENABLED(WATCHDOG)) {
|
||||||
cur = ibuf;
|
cur = ibuf;
|
||||||
end = ibuf + ilen;
|
end = ibuf + ilen;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue