MCP55: Add TINY_BOOTBLOCK support.
[coreboot.git] / src / southbridge / nvidia / mcp55 / mcp55.h
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2007 AMD
5  * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
20  */
21
22 #ifndef MCP55_H
23 #define MCP55_H
24
25 #if CONFIG_HT_CHAIN_END_UNITID_BASE != 0x20
26         #define MCP55_DEVN_BASE CONFIG_HT_CHAIN_END_UNITID_BASE
27 #else
28         #define MCP55_DEVN_BASE CONFIG_HT_CHAIN_UNITID_BASE
29 #endif
30
31 #ifndef __PRE_RAM__
32 #include "chip.h"
33 void mcp55_enable(device_t dev);
34 extern struct pci_operations mcp55_pci_ops;
35 #else
36 #if !defined(__ROMCC__)
37 void enable_fid_change_on_sb(unsigned sbbusn, unsigned sbdn);
38 void mcp55_enable_usbdebug(unsigned int port);
39 #endif
40 #endif
41
42 #endif /* MCP55_H */