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 Remove #if !defined(OVERO) - #endif....



details:   https://anonhg.NetBSD.org/src/rev/54ff116aea50
branches:  trunk
changeset: 757780:54ff116aea50
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Thu Sep 23 06:43:32 2010 +0000

description:
Remove #if !defined(OVERO) - #endif.  Overo can call delay().

diffstat:

 sys/arch/evbarm/gumstix/gxio.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 993e25c70898 -r 54ff116aea50 sys/arch/evbarm/gumstix/gxio.c
--- a/sys/arch/evbarm/gumstix/gxio.c    Wed Sep 22 17:59:35 2010 +0000
+++ b/sys/arch/evbarm/gumstix/gxio.c    Thu Sep 23 06:43:32 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gxio.c,v 1.17 2010/08/28 07:06:29 kiyohara Exp $ */
+/*     $NetBSD: gxio.c,v 1.18 2010/09/23 06:43:32 kiyohara Exp $ */
 /*
  * Copyright (C) 2005, 2006, 2007 WIDE Project and SOUM Corporation.
  * All rights reserved.
@@ -31,7 +31,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gxio.c,v 1.17 2010/08/28 07:06:29 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gxio.c,v 1.18 2010/09/23 06:43:32 kiyohara Exp $");
 
 #include "opt_cputypes.h"
 #include "opt_gumstix.h"
@@ -315,9 +315,7 @@
 #elif defined(CPU_XSCALE_PXA270)
        pxa2x0_gpio_set_function(12, GPIO_OUT | GPIO_CLR);
 #endif
-#if !defined(OVERO)    /* XXXXX */
        delay(100);
-#endif
 
 #if defined(CPU_XSCALE_PXA270) && defined(CPU_XSCALE_PXA250)
        pxa2x0_gpio_config(



Home | Main Index | Thread Index | Old Index