Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2006 00:37:29 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 103624 for review
Message-ID:  <200608110037.k7B0bThK085412@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103624

Change 103624 by imp@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608110037.k7B0bThK085412>