mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 04:26:19 -04:00
microblaze: Copy bootfile from variables
Setup bootfile. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
6cdf31124c
commit
2267e2d132
@ -186,6 +186,10 @@ void board_init (void)
|
|||||||
uchar enetaddr[6];
|
uchar enetaddr[6];
|
||||||
eth_getenv_enetaddr("ethaddr", enetaddr);
|
eth_getenv_enetaddr("ethaddr", enetaddr);
|
||||||
printf("MAC: %pM\n", enetaddr);
|
printf("MAC: %pM\n", enetaddr);
|
||||||
|
|
||||||
|
s = getenv("bootfile");
|
||||||
|
if (s != NULL)
|
||||||
|
copy_filename(BootFile, s, sizeof(BootFile));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* main_loop */
|
/* main_loop */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user