diff options
author | Simon Glass | 2023-02-05 15:40:07 -0700 |
---|---|---|
committer | Tom Rini | 2023-02-10 07:41:39 -0500 |
commit | 066640f3b8aec1d8463e0489cd489048996fd01d (patch) | |
tree | f9cf3ac7a48041e5d2d2a8344277f3792a4a17db /drivers/crypto/aspeed | |
parent | b84d23d0cdb6367888ef9edd3c427ad1f7e9f7bc (diff) |
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>
Diffstat (limited to 'drivers/crypto/aspeed')
-rw-r--r-- | drivers/crypto/aspeed/aspeed_hace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/aspeed/aspeed_hace.c b/drivers/crypto/aspeed/aspeed_hace.c index a1b0b9f564b..6b6c8fa6588 100644 --- a/drivers/crypto/aspeed/aspeed_hace.c +++ b/drivers/crypto/aspeed/aspeed_hace.c @@ -288,7 +288,7 @@ static int aspeed_hace_digest_wd(struct udevice *dev, enum HASH_ALGO algo, if (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; end = ibuf + ilen; |