Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2006 20:53:54 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 109881 for review
Message-ID:  <200611132053.kADKrsfI094830@repoman.freebsd.org>

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

Change 109881 by imp@imp_lighthouse on 2006/11/13 20:53:40

	No, BOOT_FLAVOR should be lower case.  It breaks our builds if
	is upper case, and we do all the right case conversion.

Affected files ...

.. //depot/projects/arm/src/sys/boot/arm/at91/Makefile.inc#27 edit
.. //depot/projects/arm/src/sys/boot/arm/at91/boot0iic/main.c#12 edit
.. //depot/projects/arm/src/sys/boot/arm/at91/boot2/Makefile#14 edit

Differences ...

==== //depot/projects/arm/src/sys/boot/arm/at91/Makefile.inc#27 (text+ko) ====

@@ -5,8 +5,8 @@
 
 __at91_boot_Makefile.inc__:
 
-# TSC, KB920X are the supported flavors
-BOOT_FLAVOR=KB920X
+# tsc, kb920x are the supported flavors
+BOOT_FLAVOR=kb920x
 
 CFLAGS=-Os -mcpu=arm9 -ffreestanding \
 	-I${.CURDIR}/../libat91 \

==== //depot/projects/arm/src/sys/boot/arm/at91/boot0iic/main.c#12 (text) ====

@@ -41,6 +41,6 @@
 	printf("\nWriting EEPROM from 0x%x to addr 0, 0x%x bytes\n", addr,
 	    len);
 	WriteEEPROM(0, addr, len);
-	printf("\nWrite complete.  Press reset\n");
+	printf("\nWrote %d bytes.  Press reset\n", len);
 	return (1);
 }

==== //depot/projects/arm/src/sys/boot/arm/at91/boot2/Makefile#14 (text+ko) ====

@@ -11,7 +11,7 @@
 
 .include <bsd.prog.mk>
 
-.if ${BOOT_FLAVOR} == "KB920X"
+.if ${BOOT_FLAVOR} == "kb920x"
 CFLAGS+=-DBOOT_IIC
 .endif
 CFLAGS+= \



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