Hi,
I am trying to enable MMC2 in U-boot. Below are my changes in U-boot source.
File: board.c
Function : cpu_mmc_init
Added : omap_mmc_init(2, 0, 0, -1, -1);
File: mmc_host_def.h
Added : #define OMAP_HSMMC3_BASE 0x47810100
File: clock_am33xx.c
Function : enable_basic_clocks
Added : &cmper->mmc2clkctrl, —> u32 *const clk_modules_explicit_en[];
when booted i am getting:
U-Boot 2015.10-rc2-00179-g79c884d-dirty (Aug 29 2015 - 09:26:57 +0000)
Watchdog enabled
I2C: ready
DRAM: 512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1, OMAP SD/MMC: 2
Card did not respond to voltage select!
MMC init failedNet: not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
Regards,
Dileep