Date: Thu, 13 Apr 2006 16:26:32 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 95164 for review Message-ID: <200604131626.k3DGQWEl044958@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95164 Change 95164 by imp@imp_hammer on 2006/04/13 16:26:29 Shave a few more bytes. Affected files ... .. //depot/projects/arm/src/sys/boot/arm/at91/boot0/at91rm9200_lowlevel.c#3 edit Differences ... ==== //depot/projects/arm/src/sys/boot/arm/at91/boot0/at91rm9200_lowlevel.c#3 (text) ==== @@ -44,7 +44,6 @@ { AT91PS_USART pUSART = (AT91PS_USART)AT91C_BASE_DBGU; AT91PS_PDC pPDC = (AT91PS_PDC)&(pUSART->US_RPR); - AT91PS_PIO pPio = AT91C_BASE_PIOA; register unsigned value; int i; @@ -153,8 +152,8 @@ *p = 0; // Configure DBGU -use local routine optimized for space - pPio->PIO_ASR = AT91C_PA31_DTXD | AT91C_PA30_DRXD; - pPio->PIO_PDR = AT91C_PA31_DTXD | AT91C_PA30_DRXD; + AT91C_BASE_PIOA->PIO_ASR = AT91C_PA31_DTXD | AT91C_PA30_DRXD; + AT91C_BASE_PIOA->PIO_PDR = AT91C_PA31_DTXD | AT91C_PA30_DRXD; pUSART->US_IDR = (unsigned int) -1; pUSART->US_CR = AT91C_US_RSTRX | AT91C_US_RSTTX | AT91C_US_RXDIS | AT91C_US_TXDIS;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604131626.k3DGQWEl044958>