ARM omap3evm: Enable HSMMC device
Enable the HSMMC device to fix these errors: Board: Texas Instrument's OMAP3EVM Malloc space: 0x87bfff10 -> 0x87ffff0f (size 4 MB) Stack space : 0x87bf7f10 -> 0x87bfff10 (size 32 kB) booting from MMC1 mounting sd card failed with -22 booting failed Signed-off-by: Sanjeev Premi <premi@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
92bf239823
commit
4922ed51eb
|
@ -49,6 +49,7 @@
|
|||
#include <init.h>
|
||||
#include <driver.h>
|
||||
#include <io.h>
|
||||
#include <sizes.h>
|
||||
#include <ns16550.h>
|
||||
#include <asm/armlinux.h>
|
||||
#include <mach/silicon.h>
|
||||
|
@ -251,6 +252,10 @@ static int omap3evm_init_devices(void)
|
|||
* WP is made high and WAIT1 active Low
|
||||
*/
|
||||
gpmc_generic_init(0x10);
|
||||
#endif
|
||||
#ifdef CONFIG_MCI_OMAP_HSMMC
|
||||
add_generic_device("omap-hsmmc", -1, NULL, OMAP_MMC1_BASE, SZ_4K,
|
||||
IORESOURCE_MEM, NULL);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue