defflag AWIN_HDMI_DEBUG, AWIN_TCON_DEBUG, AWIN_DEBE_DEBUG, and defparam AWIN_DEBE_VIDEOMEM

This commit is contained in:
jmcneill 2014-11-11 19:22:32 +00:00
parent b95700c1f3
commit f5d51dcdc9
4 changed files with 16 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: awin_debe.c,v 1.3 2014/11/10 17:55:25 jmcneill Exp $ */
/* $NetBSD: awin_debe.c,v 1.4 2014/11/11 19:22:32 jmcneill Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <jmcneill@invisible.ca>
@ -26,14 +26,15 @@
* SUCH DAMAGE.
*/
#include "opt_allwinner.h"
#include "genfb.h"
#ifndef AWIN_DEBE_VIDEOMEM
#define AWIN_DEBE_VIDEOMEM (16 * 1024 * 1024)
#endif
#include "genfb.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: awin_debe.c,v 1.3 2014/11/10 17:55:25 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: awin_debe.c,v 1.4 2014/11/11 19:22:32 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: awin_hdmi.c,v 1.8 2014/11/11 17:27:12 jmcneill Exp $ */
/* $NetBSD: awin_hdmi.c,v 1.9 2014/11/11 19:22:32 jmcneill Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <jmcneill@invisible.ca>
@ -26,14 +26,13 @@
* SUCH DAMAGE.
*/
//#define AWIN_HDMI_DEBUG
#include "opt_allwinner.h"
#include "opt_ddb.h"
#define AWIN_HDMI_PLL 3 /* PLL7 or PLL3 */
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: awin_hdmi.c,v 1.8 2014/11/11 17:27:12 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: awin_hdmi.c,v 1.9 2014/11/11 19:22:32 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: awin_tcon.c,v 1.3 2014/11/10 17:55:25 jmcneill Exp $ */
/* $NetBSD: awin_tcon.c,v 1.4 2014/11/11 19:22:32 jmcneill Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <jmcneill@invisible.ca>
@ -26,10 +26,10 @@
* SUCH DAMAGE.
*/
//#define AWIN_TCON_DEBUG
#include "opt_allwinner.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: awin_tcon.c,v 1.3 2014/11/10 17:55:25 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: awin_tcon.c,v 1.4 2014/11/11 19:22:32 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>

View File

@ -1,4 +1,4 @@
# $NetBSD: files.awin,v 1.24 2014/11/11 17:00:59 jmcneill Exp $
# $NetBSD: files.awin,v 1.25 2014/11/11 19:22:32 jmcneill Exp $
#
# Configuration info for Allwinner ARM Peripherals
#
@ -28,6 +28,10 @@ defflag opt_allwinner.h ALLWINNER_A20
defflag opt_allwinner.h ALLWINNER_A31
defflag opt_allwinner.h ALLWINNER_A80
defflag opt_allwinner.h AWIN_GPIO_IGNORE_FW
defflag opt_allwinner.h AWIN_HDMI_DEBUG
defflag opt_allwinner.h AWIN_TCON_DEBUG
defflag opt_allwinner.h AWIN_DEBE_DEBUG
defparam opt_allwinner.h AWIN_DEBE_VIDEOMEM
# SoC I/O attach point
device awinio { [port=-1] } : bus_space_generic