PERFORCE change 103624 for review
Warner Losh
imp at FreeBSD.org
Fri Aug 11 00:37:30 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=103624
Change 103624 by imp at imp_lighthouse on 2006/08/11 00:36:47
We don't need to support MMC card booting, so eliminate that from
the code (ifdef'd)
Affected files ...
.. //depot/projects/arm/src/sys/boot/arm/at91/libat91/mci_device.c#5 edit
.. //depot/projects/arm/src/sys/boot/arm/at91/libat91/mci_device.h#3 edit
Differences ...
==== //depot/projects/arm/src/sys/boot/arm/at91/libat91/mci_device.c#5 (text+ko) ====
@@ -272,7 +272,6 @@
return AT91C_WRITE_OK;
}
-#endif
//*----------------------------------------------------------------------------
//* \fn AT91F_MCI_MMC_SelectCard
@@ -306,6 +305,7 @@
return AT91C_CARD_SELECTED_OK;
return AT91C_CARD_SELECTED_ERROR;
}
+#endif
//*----------------------------------------------------------------------------
//* \fn AT91F_MCI_GetCSD
@@ -337,6 +337,7 @@
return( AT91F_MCI_SendCommand(AT91C_SET_BLOCKLEN_CMD, length) );
}
+#if 0
//*----------------------------------------------------------------------------
//* \fn AT91F_MCI_MMC_GetAllOCR
//* \brief Asks to all cards to send their operations conditions
@@ -445,6 +446,7 @@
// XXX warner hacked this
return AT91C_INIT_OK;
}
+#endif
//*----------------------------------------------------------------------------
//* \fn AT91F_MCI_SDCard_GetOCR
==== //depot/projects/arm/src/sys/boot/arm/at91/libat91/mci_device.h#3 (text+ko) ====
@@ -380,7 +380,9 @@
AT91S_MCIDeviceStatus AT91F_MCI_SetBlocklength(unsigned int);
AT91S_MCIDeviceStatus AT91F_MCI_ReadBlock(AT91PS_MciDevice,int,unsigned int *,int);
AT91S_MCIDeviceStatus AT91F_MCI_WriteBlock(AT91PS_MciDevice,int,unsigned int *,int);
+#if 0
AT91S_MCIDeviceStatus AT91F_MCI_MMC_Init (AT91PS_MciDevice pMCI_Device);
AT91S_MCIDeviceStatus AT91F_MCI_MMC_SelectCard(AT91PS_MciDevice pMCI_Device, unsigned int relative_card_address);
+#endif
#endif
More information about the p4-projects
mailing list