Date: Wed, 16 Aug 2006 23:13:32 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 104316 for review Message-ID: <200608162313.k7GNDWln091244@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=104316 Change 104316 by imp@imp_lighthouse on 2006/08/16 23:12:57 More cleanup Affected files ... .. //depot/projects/arm/src/sys/boot/arm/at91/boot0iic/Makefile#7 edit .. //depot/projects/arm/src/sys/boot/arm/at91/boot0iic/doit.c#6 delete .. //depot/projects/arm/src/sys/boot/arm/at91/boot0iic/main.c#4 edit Differences ... ==== //depot/projects/arm/src/sys/boot/arm/at91/boot0iic/Makefile#7 (text) ==== @@ -4,7 +4,7 @@ P=boot0iic FILES=${P} -SRCS=arm_init.s main.c doit.c +SRCS=arm_init.s main.c NO_MAN= LDFLAGS=-e 0 -T ${.CURDIR}/../linker.cfg OBJS+= ${SRCS:N*.h:R:S/$/.o/g} ==== //depot/projects/arm/src/sys/boot/arm/at91/boot0iic/main.c#4 (text) ==== @@ -28,8 +28,6 @@ #include "lib.h" #include "at91rm9200_lowlevel.h" -extern void doit(void *); - int main(void) { @@ -37,6 +35,9 @@ while (xmodem_rx(addr) == -1) continue; - doit(addr); + InitEEPROM(); + printf("Writing EEPROM from 0x%x to addr 0\r\n", addr); + WriteEEPROM(0, addr, 8192); + printf("Write complete. Press reset\r\n"); return (1); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608162313.k7GNDWln091244>