From owner-p4-projects@FreeBSD.ORG Wed Aug 16 23:13:33 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 1527316A4E8; Wed, 16 Aug 2006 23:13:33 +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 D91EC16A4E0 for ; Wed, 16 Aug 2006 23:13:32 +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 A5BC543D53 for ; Wed, 16 Aug 2006 23:13:32 +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 k7GNDWX5091247 for ; Wed, 16 Aug 2006 23:13:32 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k7GNDWln091244 for perforce@freebsd.org; Wed, 16 Aug 2006 23:13:32 GMT (envelope-from imp@freebsd.org) Date: Wed, 16 Aug 2006 23:13:32 GMT Message-Id: <200608162313.k7GNDWln091244@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 104316 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: Wed, 16 Aug 2006 23:13:33 -0000 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); }