PERFORCE change 109498 for review
Warner Losh
imp at FreeBSD.org
Wed Nov 8 00:25:12 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=109498
Change 109498 by imp at imp_lighthouse on 2006/11/08 00:24:17
We don't need the table in arm_init.S. This saves about 300 bytes
in boot2.
Affected files ...
.. //depot/projects/arm/src/sys/boot/arm/at91/bootspi/Makefile#15 edit
.. //depot/projects/arm/src/sys/boot/arm/at91/bootspi/arm_init.S#11 edit
.. //depot/projects/arm/src/sys/boot/arm/at91/bootspi/table.S#1 add
Differences ...
==== //depot/projects/arm/src/sys/boot/arm/at91/bootspi/Makefile#15 (text+ko) ====
@@ -2,7 +2,7 @@
P=bootspi
FILES=${P}
-SRCS=arm_init.S main.c loader_prompt.c env_vars.c ee.c
+SRCS=arm_init.S main.c loader_prompt.c env_vars.c ee.c table.S
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/bootspi/arm_init.S#11 (text+ko) ====
@@ -99,31 +99,3 @@
infiniteLoop:
b infiniteLoop
-
-/* the following section is used to store boot commands in */
-/* non-volatile memory. */
-
- .global BootCommandSection
-BootCommandSection:
-#ifdef SUPPORT_LINUX
- .string "Bootloader for KB9202 Evaluation Board."
- .string "c 0x20210000 0x10100000 0x80000 "
- .string "m 0 0 0 0 0 0 "
- .string "t 0x20000100 console=ttyS0,115200 root=/dev/ram rw initrd=0x20210000,654933"
- .string "e 0x10000000 "
- .string " "
-#else
-#if 1
- .string "Bootloader for KB9202 Evaluation Board."
- .string "m 42 53 44 0 0 1 "
- .string "ip 206 168 13 194 "
- .string "server_ip 206 168 13 207 "
- .string "tftp 0x20000000 kernel.bin "
- .string "e 0x20000000 "
-#else
- .string "m 42 53 44 0 0 1"
- .string "k 0x20000000"
- .string "e 0x20000000"
-#endif
- .word 0
-#endif
More information about the p4-projects
mailing list