command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / arch / nios2 / lib / bootm.c
index bec18fe28f67b79b06a491c422bd95b50642c51f..fed412907fcfbdc73c2e461b9902520f2823cb11 100644 (file)
@@ -6,12 +6,14 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <env.h>
 #include <image.h>
 #include <irq_func.h>
 
 #define NIOS_MAGIC 0x534f494e /* enable command line and initrd passing */
 
-int do_bootm_linux(int flag, int argc, char * const argv[], bootm_headers_t *images)
+int do_bootm_linux(int flag, int argc, char *const argv[],
+                  bootm_headers_t *images)
 {
        void (*kernel)(int, int, int, char *) = (void *)images->ep;
        char *commandline = env_get("bootargs");