User Tools

Site Tools


u-boot_boot_sequence

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
u-boot_boot_sequence [2019/04/12 11:09]
rpjday [initr_ethaddr() [C]]
u-boot_boot_sequence [2019/04/12 11:11]
rpjday [board_late_init() [B]]
Line 446: Line 446:
 #ifdef CONFIG_BOARD_LATE_INIT #ifdef CONFIG_BOARD_LATE_INIT
         board_late_init,​         board_late_init,​
 +#endif
 +</​code>​
 +
 +==== initr_net() ====
 +
 +<​code>​
 +#ifdef CONFIG_CMD_NET
 +static int initr_net(void)
 +{
 +        puts("​Net: ​  "​);​
 +        eth_initialize();​
 +#if defined(CONFIG_RESET_PHY_R)
 +        debug("​Reset Ethernet PHY\n"​);​
 +        reset_phy();​
 +#endif
 +        return 0;
 +}
 #endif #endif
 </​code>​ </​code>​
  
u-boot_boot_sequence.txt ยท Last modified: 2019/04/12 11:11 by rpjday