PERFORCE change 104316 for review
Warner Losh
imp at FreeBSD.org
Wed Aug 16 23:13:33 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=104316
Change 104316 by imp at 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);
}
More information about the p4-projects
mailing list