Created
June 10, 2014 10:59
-
-
Save Embedded-linux/2c3b619fb5e2aeefa441 to your computer and use it in GitHub Desktop.
MMC Port to uboot
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 MMC 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 pin mux for mmc0 */ | |
+ enable_mmc0_pin_mux(); | |
+ | |
2.board/ti/am335x/board.h | |
+void enable_mmc0_pin_mux(void); | |
3.board/ti/am335x/mux.c | |
+ | |
+void enable_mmc0_pin_mux(void) | |
+{ | |
+ configure_module_pin_mux(mmc0_pin_mux); | |
+} | |
4.include/configs/am335x_evm.h | |
+#define CONFIG_MMC | |
+#define CONFIG_GENERIC_MMC | |
+#define CONFIG_OMAP_HSMMC | |
+#define CONFIG_CMD_MMC | |
+#define CONFIG_SPL_MMC_SUPPORT | |
->These are files changed for adding MMC support in uboot code. | |
Now we will boot beagle bone board with MMC/SD card support by loading | |
u-boot.img file in MMC card. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment