diff options
author | Tom Rini <trini@konsulko.com> | 2022-03-18 08:38:26 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-03-25 12:01:15 +0000 |
commit | 16199a8b961fab60587011e9da5a592b94d3eaf4 (patch) | |
tree | e05a720eb15bd9af882725de6dea0ee4bb937d28 /common | |
parent | 0b956e3987bf856add12023e1835bfa9662d13ee (diff) | |
download | u-boot-16199a8b961fab60587011e9da5a592b94d3eaf4.tar.gz |
Convert CONFIG_PHY_RESET_DELAY to Kconfig
This converts the following to Kconfig:
CONFIG_PHY_RESET_DELAY
Cc: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/miiphyutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/miiphyutil.c b/common/miiphyutil.c index 7d4d15ed918..194c84e7e89 100644 --- a/common/miiphyutil.c +++ b/common/miiphyutil.c @@ -366,7 +366,7 @@ int miiphy_reset(const char *devname, unsigned char addr) debug("PHY reset failed\n"); return -1; } -#ifdef CONFIG_PHY_RESET_DELAY +#if CONFIG_PHY_RESET_DELAY > 0 udelay(CONFIG_PHY_RESET_DELAY); /* Intel LXT971A needs this */ #endif /* |