Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/xscale Must disable LCD Controller in pxa2x0_lc...
details: https://anonhg.NetBSD.org/src/rev/1ac1179a8636
branches: trunk
changeset: 756941:1ac1179a8636
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Sun Aug 08 09:33:35 2010 +0000
description:
Must disable LCD Controller in pxa2x0_lcd_attach_sub(), if already enabled.
We wait to become disable LCD in pxa2x0_lcd_initialize().
diffstat:
sys/arch/arm/xscale/pxa2x0_lcd.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r f7791e948a75 -r 1ac1179a8636 sys/arch/arm/xscale/pxa2x0_lcd.c
--- a/sys/arch/arm/xscale/pxa2x0_lcd.c Sun Aug 08 09:33:05 2010 +0000
+++ b/sys/arch/arm/xscale/pxa2x0_lcd.c Sun Aug 08 09:33:35 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pxa2x0_lcd.c,v 1.28 2010/03/13 11:15:52 bsh Exp $ */
+/* $NetBSD: pxa2x0_lcd.c,v 1.29 2010/08/08 09:33:35 kiyohara Exp $ */
/*
* Copyright (c) 2002 Genetec Corporation. All rights reserved.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pxa2x0_lcd.c,v 1.28 2010/03/13 11:15:52 bsh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pxa2x0_lcd.c,v 1.29 2010/08/08 09:33:35 kiyohara Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -249,6 +249,9 @@
return;
}
+ /* Must disable LCD Controller here, if already enabled. */
+ bus_space_write_4(iot, ioh, LCDC_LCCR0, 0);
+
pxa2x0_lcd_initialize(sc, geom);
#if NWSDISPLAY > 0
Home |
Main Index |
Thread Index |
Old Index