aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-mx6.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-05 15:40:11 -0700
committerTom Rini <trini@konsulko.com>2023-02-10 07:41:39 -0500
commit24f95e141e35a794213f1bb1b969ec91f057e063 (patch)
treef43dfe2040da3e1c43a2ad101cea85aa40b296f3 /drivers/usb/host/ehci-mx6.c
parentdec5f3cc72d0314a84a1afb23174fb83c04410c9 (diff)
downloadu-boot-24f95e141e35a794213f1bb1b969ec91f057e063.zip
u-boot-24f95e141e35a794213f1bb1b969ec91f057e063.tar.gz
u-boot-24f95e141e35a794213f1bb1b969ec91f057e063.tar.bz2
Correct SPL uses of IMX_MODULE_FUSE
This converts 6 usages of this option to the non-SPL form, since there is no SPL_IMX_MODULE_FUSE defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/usb/host/ehci-mx6.c')
-rw-r--r--drivers/usb/host/ehci-mx6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index 0a12db6..91633f0 100644
--- a/drivers/usb/host/ehci-mx6.c
+++ b/drivers/usb/host/ehci-mx6.c
@@ -360,7 +360,7 @@ int ehci_hcd_init(int index, enum usb_init_type init,
if (index > 3)
return -EINVAL;
- if (CONFIG_IS_ENABLED(IMX_MODULE_FUSE)) {
+ if (IS_ENABLED(CONFIG_IMX_MODULE_FUSE)) {
if (usb_fused((ulong)ehci)) {
printf("SoC fuse indicates USB@0x%lx is unavailable.\n",
(ulong)ehci);
@@ -641,7 +641,7 @@ static int ehci_usb_probe(struct udevice *dev)
struct ehci_hcor *hcor;
int ret;
- if (CONFIG_IS_ENABLED(IMX_MODULE_FUSE)) {
+ if (IS_ENABLED(CONFIG_IMX_MODULE_FUSE)) {
if (usb_fused((ulong)ehci)) {
printf("SoC fuse indicates USB@0x%lx is unavailable.\n",
(ulong)ehci);