From owner-p4-projects@FreeBSD.ORG Sat Sep 9 00:22:50 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 7830916A412; Sat, 9 Sep 2006 00:22:50 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5322616A403 for ; Sat, 9 Sep 2006 00:22:50 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9989843D58 for ; Sat, 9 Sep 2006 00:22:49 +0000 (GMT) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k890Mnc6059082 for ; Sat, 9 Sep 2006 00:22:49 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k890MnZ1059077 for perforce@freebsd.org; Sat, 9 Sep 2006 00:22:49 GMT (envelope-from imp@freebsd.org) Date: Sat, 9 Sep 2006 00:22:49 GMT Message-Id: <200609090022.k890MnZ1059077@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 105867 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2006 00:22:50 -0000 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; }