Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2006 00:24:59 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 109498 for review
Message-ID:  <200611080024.kA80Oxpj091126@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=109498

Change 109498 by imp@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



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