Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2006 08:11:25 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 97860 for review
Message-ID:  <200605260811.k4Q8BPs5032162@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605260811.k4Q8BPs5032162>