tree: drop last paragraph of GPL copyright header
[coreboot.git] / src / southbridge / amd / cimx / sb700 / sb_cimx.h
blobd64e07a5b3d490a5858986918403b9c6364a66aa
1 /*
2 * This file is part of the coreboot project.
4 * Copyright (C) 2012 Advanced Micro Devices, Inc.
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; version 2 of the License.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
17 #ifndef _CIMX_H_
18 #define _CIMX_H_
20 #define PM_INDEX 0xcd6
21 #define PM_DATA 0xcd7
23 #define REV_SB700_A11 0x11
24 #define REV_SB700_A12 0x12
27 /**
28 * AMD South Bridge CIMx entry point wrapper
30 void sb_Poweron_Init(void);
31 void sb_Before_Pci_Init(void);
32 void sb_After_Pci_Init(void);
33 void sb_Late_Post(void);
35 void sb7xx_51xx_enable_wideio(u8 wio_index, u16 base);
36 void sb7xx_51xx_disable_wideio(u8 wio_index);
38 /**
39 * @brief Get SouthBridge device number, called by finalize_node_setup()
40 * @param[in] bus target bus number
41 * @return southbridge device number
43 u32 get_sbdn(u32 bus);
44 #endif