projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: board: ti: Move documentation from README to .rst
[platform/kernel/u-boot.git]
/
doc
/
README.atmel_mci
diff --git
a/doc/README.atmel_mci
b/doc/README.atmel_mci
index
6c027b0
..
0b6d2c5
100644
(file)
--- a/
doc/README.atmel_mci
+++ b/
doc/README.atmel_mci
@@
-47,7
+47,7
@@
the board specific file need added:
...
#ifdef CONFIG_GENERIC_ATMEL_MCI
/* this is a weak define that we are overriding */
...
#ifdef CONFIG_GENERIC_ATMEL_MCI
/* this is a weak define that we are overriding */
-int board_mmc_init(
bd_t
*bd)
+int board_mmc_init(
struct bd_info
*bd)
{
/* Enable clock */
at91_sys_write(AT91_PMC_PCER, 1 << AT91SAM9260_ID_MCI);
{
/* Enable clock */
at91_sys_write(AT91_PMC_PCER, 1 << AT91SAM9260_ID_MCI);
@@
-60,7
+60,7
@@
int board_mmc_init(bd_t *bd)
/* this is a weak define that we are overriding */
int board_mmc_getcd(struct mmc *mmc)
{
/* this is a weak define that we are overriding */
int board_mmc_getcd(struct mmc *mmc)
{
- return !at91_get_gpio_value(C
ONFI
G_SYS_MMC_CD_PIN);
+ return !at91_get_gpio_value(C
F
G_SYS_MMC_CD_PIN);
}
#endif
}
#endif
@@
-70,5
+70,5
@@
and the board definition files needs:
/* SD/MMC card */
#define CONFIG_GENERIC_ATMEL_MCI 1
#define CONFIG_ATMEL_MCI_PORTB 1 /* Atmel XE-EK uses port B */
/* SD/MMC card */
#define CONFIG_GENERIC_ATMEL_MCI 1
#define CONFIG_ATMEL_MCI_PORTB 1 /* Atmel XE-EK uses port B */
-#define C
ONFIG_SYS_MMC_CD_PIN
AT91_PIN_PC9
+#define C
FG_SYS_MMC_CD_PIN
AT91_PIN_PC9
#define CONFIG_CMD_MMC 1
#define CONFIG_CMD_MMC 1