From: Michal Simek Date: Thu, 21 Jul 2011 07:47:15 +0000 (+0200) Subject: microblaze: Copy bootfile from variables X-Git-Tag: v2011.12-rc1~539^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2267e2d132b6c5edb3312a85da1a2523437a4532;p=u-boot microblaze: Copy bootfile from variables Setup bootfile. Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c index d6773299e1..ca5882dd0d 100644 --- a/arch/microblaze/lib/board.c +++ b/arch/microblaze/lib/board.c @@ -186,6 +186,10 @@ void board_init (void) uchar enetaddr[6]; eth_getenv_enetaddr("ethaddr", enetaddr); printf("MAC: %pM\n", enetaddr); + + s = getenv("bootfile"); + if (s != NULL) + copy_filename(BootFile, s, sizeof(BootFile)); #endif /* main_loop */