x86: qemu: Fix build warnings with CONFIG_DISTRO_DEFAULTS=n
[oweals/u-boot.git] / drivers / fastboot / fb_common.c
index c6e06aab7aa9434da0ea7dac60464e23744648e1..e76af8ecc320b954b1ab2cf2cde514343f093909 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <common.h>
+#include <env.h>
 #include <fastboot.h>
 #include <net/fastboot.h>
 
@@ -119,7 +120,7 @@ void fastboot_boot(void)
        if (s) {
                run_command(s, CMD_FLAG_ENV);
        } else {
-               static char boot_addr_start[12];
+               static char boot_addr_start[20];
                static char *const bootm_args[] = {
                        "bootm", boot_addr_start, NULL
                };