summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/cs5536/chip.h
blob: 1edb349ac76c3cfc06017e9a9f5dcc0887b2ba05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _SOUTHBRIDGE_AMD_CS5536
#define _SOUTHBRIDGE_AMD_CS5536

#define MAX_UNWANTED_VPCI 10	/* increase if needed */

extern struct chip_operations southbridge_amd_cs5536_ops;

struct southbridge_amd_cs5536_config {
	/* interrupt enable for LPC bus */
	int lpc_serirq_enable;	/* how to enable, e.g. 0x80 */
 	int lpc_irq;		/* what to enable, e.g. 0x18 */
 	int enable_gpio0_inta; 	/* almost always will be true */
	int enable_ide_nand_flash; /* if you are using nand flash instead of IDE drive */
	int enable_uarta; 		/* internal uarta interrupt enable */
	/* following are IRQ numbers for various southbridge resources. */
	/* I have guessed at some things, as I still don't have an lspci from anyone */
	int ide_irq;		/* f.2 */
	int audio_irq; 		/* f.3 */
	int usbf4_irq;		/* f.4 */
	int usbf5_irq;		/* f.5 */
	int usbf6_irq;		/* f.6 */
	int usbf7_irq; 		/* f.7 */
	/* the following allow you to disable unwanted virtualized PCI devices */
	unsigned long unwanted_vpci[MAX_UNWANTED_VPCI];
};

#endif	/* _SOUTHBRIDGE_AMD_CS5536 */