vx900: Drop some unused defines
[coreboot.git] / src / northbridge / via / vx900 / vx900.h
blobfe756f96657c2958ee875d9d0038b331dee34c92
1 /*
2 * This file is part of the coreboot project.
4 * Copyright (C) 2011 Alexandru Gagniuc <mr.nuke.me@gmail.com>
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 #ifndef __VX900_H
17 #define __VX900_H
19 #define VX900_ACPI_IO_BASE 0x0400
21 #define SMBUS_IO_BASE 0x500
23 #define VX900_MMCONFIG_MBAR 0xbc
25 /* The maximum number of DIMM slots that the VX900 supports */
26 #define VX900_MAX_DIMM_SLOTS 2
27 #define VX900_MAX_MEM_RANKS 4
29 #include <arch/io.h>
30 #include <device/pci.h>
32 #include <console/console.h>
34 u32 chrome9hd_fb_size(void);
35 u8 vx900_int15_get_5f18_bl(void);
36 uint64_t get_uma_memory_base(void);
38 /* We use these throughout the code. They really belong in a generic part of
39 * coreboot, but until bureaucracy gets them there, we still need them */
41 #ifdef __SIMPLE_DEVICE__
42 void dump_pci_device(pci_devfn_t dev);
43 void pci_mod_config8(pci_devfn_t dev, unsigned int where,
44 uint8_t clr_mask, uint8_t set_mask);
45 void pci_mod_config16(pci_devfn_t dev, unsigned int where,
46 uint16_t clr_mask, uint16_t set_mask);
47 void pci_mod_config32(pci_devfn_t dev, unsigned int where,
48 uint32_t clr_mask, uint32_t set_mask);
49 #else
50 void dump_pci_device(device_t dev);
51 void pci_mod_config8(device_t dev, unsigned int where,
52 uint8_t clr_mask, uint8_t set_mask);
53 void pci_mod_config16(device_t dev, unsigned int where,
54 uint16_t clr_mask, uint16_t set_mask);
55 void pci_mod_config32(device_t dev, unsigned int where,
56 uint32_t clr_mask, uint32_t set_mask);
57 #endif
59 #endif /* __VX900_H */