diff options
Diffstat (limited to 'cmd/nand.c')
-rw-r--r-- | cmd/nand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/nand.c b/cmd/nand.c index 5bda69e819..4de6892a01 100644 --- a/cmd/nand.c +++ b/cmd/nand.c @@ -20,6 +20,7 @@ */ #include <common.h> +#include <image.h> #include <linux/mtd/mtd.h> #include <command.h> #include <console.h> @@ -925,7 +926,7 @@ static int nand_load_image(cmd_tbl_t *cmdtp, struct mtd_info *mtd, /* Loading ok, update default load address */ - load_addr = addr; + image_load_addr = addr; return bootm_maybe_autostart(cmdtp, cmd); } |