panel.c revision 00be8644
1f29dbc25Smrg/* Copyright (c) 2003-2005 Advanced Micro Devices, Inc. 2f29dbc25Smrg * 3f29dbc25Smrg * Permission is hereby granted, free of charge, to any person obtaining a copy 4f29dbc25Smrg * of this software and associated documentation files (the "Software"), to 5f29dbc25Smrg * deal in the Software without restriction, including without limitation the 6f29dbc25Smrg * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 7f29dbc25Smrg * sell copies of the Software, and to permit persons to whom the Software is 8f29dbc25Smrg * furnished to do so, subject to the following conditions: 9f29dbc25Smrg * 10f29dbc25Smrg * The above copyright notice and this permission notice shall be included in 11f29dbc25Smrg * all copies or substantial portions of the Software. 12f29dbc25Smrg * 13f29dbc25Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14f29dbc25Smrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15f29dbc25Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16f29dbc25Smrg * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17f29dbc25Smrg * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 18f29dbc25Smrg * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 19f29dbc25Smrg * IN THE SOFTWARE. 20f29dbc25Smrg * 21f29dbc25Smrg * Neither the name of the Advanced Micro Devices, Inc. nor the names of its 22f29dbc25Smrg * contributors may be used to endorse or promote products derived from this 23f29dbc25Smrg * software without specific prior written permission. 24f29dbc25Smrg * */ 25f29dbc25Smrg 26f29dbc25Smrg/* 27f29dbc25Smrg * File Contents: This file contailns the panel include files and 28f29dbc25Smrg * external pointer to the hardware. 29f29dbc25Smrg * 30f29dbc25Smrg * Project: Geode Xfree Frame buffer device driver. 31f29dbc25Smrg * */ 32f29dbc25Smrg 33f29dbc25Smrg#ifdef HAVE_CONFIG_H 34f29dbc25Smrg#include "config.h" 35f29dbc25Smrg#endif 36f29dbc25Smrg 37f29dbc25Smrg#ifdef __KERNEL__ 38f29dbc25Smrg 39f29dbc25Smrg#include <linux/string.h> 40f29dbc25Smrg#include <asm/io.h> 41f29dbc25Smrg 42f29dbc25Smrg#endif 43f29dbc25Smrg 4400be8644Schristos#include "xorg-server.h" 4500be8644Schristos 46f29dbc25Smrg#include "panel.h" 47f29dbc25Smrg#include "gfx_defs.h" 48f29dbc25Smrg#include "geode.h" 49f29dbc25Smrg 5004007ebaSmrg#define PLATFORM_DYNAMIC 1 /* runtime selection */ 5104007ebaSmrg#define PLATFORM_DRACO 0 /* Draco + 9210 */ 5204007ebaSmrg#define PLATFORM_CENTAURUS 1 /* Centaurus + 9211 RevA */ 5304007ebaSmrg#define PLATFORM_DORADO 1 /* Dorado + 9211 RevC */ 5404007ebaSmrg#define PLATFORM_GX2BASED 1 /* Redcloud */ 55f29dbc25Smrg 56f29dbc25Smrgunsigned char *XpressROMPtr; 57f29dbc25Smrg 58f29dbc25Smrg#include "pnl_init.c" 59f29dbc25Smrg#include "pnl_bios.c" 60