Created
June 10, 2014 11:07
-
-
Save Embedded-linux/94d91ecd36c9aca9b6ac to your computer and use it in GitHub Desktop.
u-boot port [Ethernet support]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Files chaged to add Ethernet support in u-boot code : | |
1.board/ti/am335x/board.c | |
2.board/ti/am335x/board.h | |
3.board/ti/am335x/mux.c | |
4.include/configs/am335x_evm.h | |
1.board/ti/am335x/board.c | |
+ /* Enable MII pin mux on Beaglebone */ | |
+ enable_mii1_pin_mux(); | |
+ | |
2.board/ti/am335x/board.h | |
+void enable_mii1_pin_mux(void); | |
3.board/ti/am335x/mux.c | |
+void enable_mii1_pin_mux(void) | |
+{ | |
+ configure_module_pin_mux(mii1_pin_mux); | |
+} | |
4.include/configs/am335x_evm.h | |
+#define CONFIG_CMD_NET | |
+#define CONFIG_CMD_DHCP | |
+#define CONFIG_CMD_PING | |
+#define CONFIG_DRIVER_TI_CPSW | |
+#define CONFIG_MII | |
+#define CONFIG_CMD_MII | |
These files are changes for support of Ethernet. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment