diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-06 01:40:47 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 15:41:40 +0300 |
commit | 1c6b832aea4ddbce25c03f4e56de8476507a5824 (patch) | |
tree | cb07084fbcecbf17f8122a6b2fe7d38a38ef04a1 | |
parent | 4c77608942a4e84424cd2c19c90cd3b4f93f5d3d (diff) | |
download | u-boot-1c6b832aea4ddbce25c03f4e56de8476507a5824.tar.xz |
Correct SPL uses of SIFIVE_OTP
This converts 2 usages of this option to the non-SPL form, since there is
no SPL_SIFIVE_OTP defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | board/sifive/unleashed/unleashed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/sifive/unleashed/unleashed.c b/board/sifive/unleashed/unleashed.c index f8aad862c6..b6ab06a08f 100644 --- a/board/sifive/unleashed/unleashed.c +++ b/board/sifive/unleashed/unleashed.c @@ -27,7 +27,7 @@ #ifdef CONFIG_MISC_INIT_R -#if CONFIG_IS_ENABLED(SIFIVE_OTP) +#if IS_ENABLED(CONFIG_SIFIVE_OTP) static u32 otp_read_serialnum(struct udevice *dev) { int ret; @@ -53,7 +53,7 @@ static u32 fu540_read_serialnum(void) { u32 serial = ERROR_READING_SERIAL_NUMBER; -#if CONFIG_IS_ENABLED(SIFIVE_OTP) +#if IS_ENABLED(CONFIG_SIFIVE_OTP) struct udevice *dev; int ret; |