]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/usb_hub.c
env: Rename getenv/_f() to env_get()
[people/ms/u-boot.git] / common / usb_hub.c
index 70bc6e2931164d31fd0f86ad71a314b713870c9b..86a347766432467dcd67f078d963fce1bffa561c 100644 (file)
@@ -189,7 +189,7 @@ static void usb_hub_power_on(struct usb_hub_device *hub)
         * but allow this time to be increased via env variable as some
         * devices break the spec and require longer warm-up times
         */
-       env = getenv("usb_pgood_delay");
+       env = env_get("usb_pgood_delay");
        if (env)
                pgood_delay = max(pgood_delay,
                                  (unsigned)simple_strtol(env, NULL, 0));