Date: Sat, 9 Sep 2006 00:22:49 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 105867 for review Message-ID: <200609090022.k890MnZ1059077@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105867 Change 105867 by imp@imp_lighthouse on 2006/09/09 00:22:10 Printf removal, gets us about 100 bytes Affected files ... .. //depot/projects/arm/src/sys/boot/arm/at91/boot2/boot2.c#14 edit .. //depot/projects/arm/src/sys/boot/arm/at91/libat91/mci_device.c#10 edit Differences ... ==== //depot/projects/arm/src/sys/boot/arm/at91/boot2/boot2.c#14 (text+ko) ==== @@ -227,14 +227,9 @@ int autoboot; ino_t ino; - if (kname[0]) - printf("bss not zero\n"); - #ifdef TSC_FPGA SPI_InitFlash(); - printf("Loading FPGA..."); fpga_load(); - printf("done\n"); #endif EEInit(); MacFromEE(); ==== //depot/projects/arm/src/sys/boot/arm/at91/libat91/mci_device.c#10 (text+ko) ==== @@ -452,8 +452,6 @@ f->Relative_Card_Address = 0; continue; } - printf("Response is %x %x %x %x\n", tab_response[0], - tab_response[1], tab_response[2], tab_response[3]); f->READ_BL_LEN = ((tab_response[1] >> CSD_1_RD_B_LEN_S) & CSD_1_RD_B_LEN_M); f->WRITE_BL_LEN = ((tab_response[3] >> CSD_3_WBLEN_S) & CSD_3_WBLEN_M ); f->Sector_Size = 1 + ((tab_response[2] >> CSD_2_v22_SECT_SIZE_S) & CSD_2_v22_SECT_SIZE_M ); @@ -580,8 +578,6 @@ if (AT91F_MCI_GetCSD(f->Relative_Card_Address,tab_response) != AT91C_CMD_SEND_OK) return AT91C_INIT_ERROR; - printf("Response is %x %x %x %x\n", tab_response[0], - tab_response[1], tab_response[2], tab_response[3]); f->READ_BL_LEN = (tab_response[1] >> CSD_1_RD_B_LEN_S) & CSD_1_RD_B_LEN_M; f->WRITE_BL_LEN = (tab_response[3] >> CSD_3_WBLEN_S) & @@ -614,7 +610,6 @@ return AT91C_INIT_ERROR; if (AT91F_MCI_SetBlocklength(1 << f->READ_BL_LEN) != AT91C_CMD_SEND_OK) return AT91C_INIT_ERROR; - printf("Found SD card %u bytes in size %u %u\n", f->Memory_Capacity, - blocknr, mult); + printf("Found SD card %u bytes\n", f->Memory_Capacity); return AT91C_INIT_OK; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609090022.k890MnZ1059077>