projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cdf311
)
microblaze: Copy bootfile from variables
author
Michal Simek
<monstr@monstr.eu>
Thu, 21 Jul 2011 07:47:15 +0000
(09:47 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Mon, 10 Oct 2011 06:54:42 +0000
(08:54 +0200)
Setup bootfile.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/lib/board.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/lib/board.c
b/arch/microblaze/lib/board.c
index d6773299e1bb7d58d6976ef10f563440104080e7..ca5882dd0d8e607f9ae85864cc09c05ee69e3e0e 100644
(file)
--- 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 */