PERFORCE change 105865 for review
Warner Losh
imp at FreeBSD.org
Sat Sep 9 00:07:29 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=105865
Change 105865 by imp at imp_lighthouse on 2006/09/09 00:06:28
style nits
Affected files ...
.. //depot/projects/arm/src/sys/boot/arm/at91/boot2/Makefile#5 edit
.. //depot/projects/arm/src/sys/boot/arm/at91/libat91/sd-card.c#8 edit
Differences ...
==== //depot/projects/arm/src/sys/boot/arm/at91/boot2/Makefile#5 (text+ko) ====
@@ -18,5 +18,4 @@
-I${.CURDIR}/../../../common \
-I${.CURDIR}/../../../.. \
-D_KERNEL \
- -DUFS1_ONLY \
- -DSIOSPD=${BOOT_COMCONSOLE_SPEED} \
+ -DUFS1_ONLY
==== //depot/projects/arm/src/sys/boot/arm/at91/libat91/sd-card.c#8 (text+ko) ====
@@ -279,20 +279,19 @@
{
// Init Device Structure
- MCI_Device_Features.Relative_Card_Address = 0;
- MCI_Device_Features.Card_Inserted = AT91C_SD_CARD_INSERTED;
- MCI_Device_Features.READ_BL_LEN = 0;
- MCI_Device_Features.WRITE_BL_LEN = 0;
- MCI_Device_Features.Read_Partial = 0;
- MCI_Device_Features.Write_Partial = 0;
- MCI_Device_Features.Erase_Block_Enable = 0;
- MCI_Device_Features.Sector_Size = 0;
- MCI_Device_Features.Memory_Capacity = 0;
- MCI_Device_Desc.state = AT91C_MCI_IDLE;
- MCI_Device_Desc.SDCard_bus_width = AT91C_MCI_SCDBUS;
- MCI_Device.pMCI_DeviceDesc = &MCI_Device_Desc;
- MCI_Device.pMCI_DeviceFeatures = &MCI_Device_Features;
-
+ MCI_Device_Features.Relative_Card_Address = 0;
+ MCI_Device_Features.Card_Inserted = AT91C_SD_CARD_INSERTED;
+ MCI_Device_Features.READ_BL_LEN = 0;
+ MCI_Device_Features.WRITE_BL_LEN = 0;
+ MCI_Device_Features.Read_Partial = 0;
+ MCI_Device_Features.Write_Partial = 0;
+ MCI_Device_Features.Erase_Block_Enable = 0;
+ MCI_Device_Features.Sector_Size = 0;
+ MCI_Device_Features.Memory_Capacity = 0;
+ MCI_Device_Desc.state = AT91C_MCI_IDLE;
+ MCI_Device_Desc.SDCard_bus_width = AT91C_MCI_SCDBUS;
+ MCI_Device.pMCI_DeviceDesc = &MCI_Device_Desc;
+ MCI_Device.pMCI_DeviceFeatures = &MCI_Device_Features;
}
static void AT91F_MCI_Handler(void)
More information about the p4-projects
mailing list