mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
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>
This commit is contained in:
parent
4c77608942
commit
1c6b832aea
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_MISC_INIT_R
|
#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)
|
static u32 otp_read_serialnum(struct udevice *dev)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
@ -53,7 +53,7 @@ static u32 fu540_read_serialnum(void)
|
|||||||
{
|
{
|
||||||
u32 serial = ERROR_READING_SERIAL_NUMBER;
|
u32 serial = ERROR_READING_SERIAL_NUMBER;
|
||||||
|
|
||||||
#if CONFIG_IS_ENABLED(SIFIVE_OTP)
|
#if IS_ENABLED(CONFIG_SIFIVE_OTP)
|
||||||
struct udevice *dev;
|
struct udevice *dev;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user