From owner-p4-projects@FreeBSD.ORG Fri May 26 08:12:25 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 F196716A457; Fri, 26 May 2006 08:12:24 +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 984DD16A465 for ; Fri, 26 May 2006 08:12:24 +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 62D3643D48 for ; Fri, 26 May 2006 08:12:24 +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 k4Q8BP6S032165 for ; Fri, 26 May 2006 08:11:25 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k4Q8BPs5032162 for perforce@freebsd.org; Fri, 26 May 2006 08:11:25 GMT (envelope-from imp@freebsd.org) Date: Fri, 26 May 2006 08:11:25 GMT Message-Id: <200605260811.k4Q8BPs5032162@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 97860 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: Fri, 26 May 2006 08:12:25 -0000 http://perforce.freebsd.org/chv.cgi?CH=97860 Change 97860 by imp@imp_lighthouse on 2006/05/26 08:10:35 Initial support for sd reading in the roms. this puts us 2k over our 12k limit :-( trimming to follow. Affected files ... .. //depot/projects/arm/src/sys/boot/arm/at91/Makefile.inc#16 edit .. //depot/projects/arm/src/sys/boot/arm/at91/bootspi/Makefile#9 edit .. //depot/projects/arm/src/sys/boot/arm/at91/bootspi/ints.c#1 add .. //depot/projects/arm/src/sys/boot/arm/at91/bootspi/ints.h#1 add .. //depot/projects/arm/src/sys/boot/arm/at91/bootspi/mci_device.c#1 add .. //depot/projects/arm/src/sys/boot/arm/at91/bootspi/mci_device.h#1 add .. //depot/projects/arm/src/sys/boot/arm/at91/bootspi/sd-card.c#1 add .. //depot/projects/arm/src/sys/boot/arm/at91/bootspi/sd-card.h#1 add .. //depot/projects/arm/src/sys/boot/arm/at91/bootspi/stormy16-lib2.c#1 add Differences ... ==== //depot/projects/arm/src/sys/boot/arm/at91/Makefile.inc#16 (text+ko) ==== @@ -7,10 +7,15 @@ CFLAGS=-O2 -mcpu=arm9 -ffreestanding \ -I${.CURDIR}/../libat91 \ + -I${.CURDIR}/../../../.. \ + -D_KERNEL \ -Wall -Waggregate-return \ - -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \ - -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \ + -Wnested-externs \ + -Wpointer-arith -Wshadow -Wwrite-strings \ -Werror +# -Wmissing-prototypes +# -Wmissing-declarations +# -Wstrict-prototypes CFLAGS+=-DBOOT_TSC #CFLAGS+=-DBOOT_KB9202 ==== //depot/projects/arm/src/sys/boot/arm/at91/bootspi/Makefile#9 (text+ko) ==== @@ -2,7 +2,8 @@ P=bootspi FILES=${P} -SRCS=arm_init.S main.c loader_prompt.c env_vars.c +SRCS=arm_init.S main.c loader_prompt.c env_vars.c ints.c \ + mci_device.c sd-card.c stormy16-lib2.c NO_MAN= LDFLAGS=-e 0 -T ${.CURDIR}/../linker.cfg OBJS+= ${SRCS:N*.h:R:S/$/.o/g}