fdt: Sync up with libfdt
[platform/kernel/u-boot.git] / common / autoboot.c
index dc24cae..c27cc2c 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];