]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/autoboot.c
gpio: remove gpiolib.c and define remaining functions as static inline in asm/gpio.h
[karo-tx-uboot.git] / common / autoboot.c
index dc24cae61201c98dabd992a6344d2700e7e02fbf..c27cc2c75120778f30df72126139804be149bfc1 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <autoboot.h>
 #include <bootretry.h>
 #include <cli.h>
 #include <fdtdec.h>
@@ -40,10 +41,10 @@ static int abortboot_keyed(int bootdelay)
                int retry;
        }
        delaykey[] = {
-               { str: getenv("bootdelaykey"),  retry: 1 },
-               { str: getenv("bootdelaykey2"), retry: 1 },
-               { str: getenv("bootstopkey"),   retry: 0 },
-               { str: getenv("bootstopkey2"),  retry: 0 },
+               { .str = getenv("bootdelaykey"),  .retry = 1 },
+               { .str = getenv("bootdelaykey2"), .retry = 1 },
+               { .str = getenv("bootstopkey"),   .retry = 0 },
+               { .str = getenv("bootstopkey2"),  .retry = 0 },
        };
 
        char presskey[MAX_DELAY_STOP_STR];