Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/gumstix Use EVBARM_BOARDTYPE to print 'NetBS...
details: https://anonhg.NetBSD.org/src/rev/d7374fd3a68a
branches: trunk
changeset: 756938:d7374fd3a68a
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Sun Aug 08 09:00:15 2010 +0000
description:
Use EVBARM_BOARDTYPE to print 'NetBSD/evbarm(*)'. That defined to
std.gumstix and std.overo.
diffstat:
sys/arch/evbarm/gumstix/gumstix_machdep.c | 15 +++++----------
1 files changed, 5 insertions(+), 10 deletions(-)
diffs (36 lines):
diff -r 5fadeb6fc245 -r d7374fd3a68a sys/arch/evbarm/gumstix/gumstix_machdep.c
--- a/sys/arch/evbarm/gumstix/gumstix_machdep.c Sun Aug 08 05:02:59 2010 +0000
+++ b/sys/arch/evbarm/gumstix/gumstix_machdep.c Sun Aug 08 09:00:15 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gumstix_machdep.c,v 1.28 2010/07/10 08:26:34 kiyohara Exp $ */
+/* $NetBSD: gumstix_machdep.c,v 1.29 2010/08/08 09:00:15 kiyohara Exp $ */
/*
* Copyright (C) 2005, 2006, 2007 WIDE Project and SOUM Corporation.
* All rights reserved.
@@ -137,6 +137,7 @@
* boards using RedBoot firmware.
*/
+#include "opt_evbarm_boardtype.h"
#include "opt_cputypes.h"
#include "opt_gumstix.h"
#include "opt_ddb.h"
@@ -578,15 +579,9 @@
#endif
/* Talk to the user */
- printf("\nNetBSD/evbarm (%s) booting ...\n",
-#if defined(GUMSTIX)
- "gumstix"
-#elif defined(OVERO)
- "overo"
-#else
- "???"
-#endif
- );
+#define BDSTR(s) _BDSTR(s)
+#define _BDSTR(s) #s
+ printf("\nNetBSD/evbarm (" BDSTR(EVBARM_BOARDTYPE) ") booting ...\n");
/* Read system serial */
#if defined(GUMSTIX)
Home |
Main Index |
Thread Index |
Old Index