projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mmc: Implement card detection.
[oweals/u-boot.git]
/
drivers
/
mmc
/
gen_atmel_mci.c
diff --git
a/drivers/mmc/gen_atmel_mci.c
b/drivers/mmc/gen_atmel_mci.c
index 6577925b8ecc558e91b160acc571c6b2690d9c2d..4968c5e4912aa46da6b68884e58fc9edda4375f3 100644
(file)
--- a/
drivers/mmc/gen_atmel_mci.c
+++ b/
drivers/mmc/gen_atmel_mci.c
@@
-33,7
+33,7
@@
#include <asm/errno.h>
#include <asm/byteorder.h>
#include <asm/arch/clk.h>
#include <asm/errno.h>
#include <asm/byteorder.h>
#include <asm/arch/clk.h>
-#include <asm/arch/
memory-map
.h>
+#include <asm/arch/
hardware
.h>
#include "atmel_mci.h"
#ifndef CONFIG_SYS_MMC_CLK_OD
#include "atmel_mci.h"
#ifndef CONFIG_SYS_MMC_CLK_OD
@@
-337,6
+337,7
@@
int atmel_mci_init(void *regs)
mmc->send_cmd = mci_send_cmd;
mmc->set_ios = mci_set_ios;
mmc->init = mci_init;
mmc->send_cmd = mci_send_cmd;
mmc->set_ios = mci_set_ios;
mmc->init = mci_init;
+ mmc->getcd = NULL;
/* need to be able to pass these in on a board by board basis */
mmc->voltages = MMC_VDD_32_33 | MMC_VDD_33_34;
/* need to be able to pass these in on a board by board basis */
mmc->voltages = MMC_VDD_32_33 | MMC_VDD_33_34;