src/northbridge: Add guards on all header files
Change-Id: I93b939478615f22f2c078b1efb7999ad4f3a4c28 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20747 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
This commit is contained in:
parent
54cb493f97
commit
b08d73b845
|
@ -13,6 +13,9 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __AMDFAM10_HT_CONFIG_H__
|
||||||
|
#define __AMDFAM10_HT_CONFIG_H__
|
||||||
|
|
||||||
typedef struct amdfam10_sysconf_t sys_info_conf_t;
|
typedef struct amdfam10_sysconf_t sys_info_conf_t;
|
||||||
|
|
||||||
/* FIXME */
|
/* FIXME */
|
||||||
|
@ -47,3 +50,5 @@ void set_io_addr_reg(device_t dev, u32 nodeid, u32 linkn, u32 reg,
|
||||||
u32 io_min, u32 io_max);
|
u32 io_min, u32 io_max);
|
||||||
|
|
||||||
void set_mmio_addr_reg(u32 nodeid, u32 linkn, u32 reg, u32 index, u32 mmio_min, u32 mmio_max, u32 nodes);
|
void set_mmio_addr_reg(u32 nodeid, u32 linkn, u32 reg, u32 index, u32 mmio_min, u32 mmio_max, u32 nodes);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -14,6 +14,9 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __VIA_CN700_H__
|
||||||
|
#define __VIA_CN700_H__
|
||||||
|
|
||||||
/* VGA stuff */
|
/* VGA stuff */
|
||||||
#define SR_INDEX 0x3c4
|
#define SR_INDEX 0x3c4
|
||||||
#define SR_DATA 0x3c5
|
#define SR_DATA 0x3c5
|
||||||
|
@ -43,3 +46,5 @@
|
||||||
#define RAM_COMMAND_PRECHARGE 0x2
|
#define RAM_COMMAND_PRECHARGE 0x2
|
||||||
#define RAM_COMMAND_MRS 0x3
|
#define RAM_COMMAND_MRS 0x3
|
||||||
#define RAM_COMMAND_CBR 0x4
|
#define RAM_COMMAND_CBR 0x4
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -13,6 +13,9 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __VIA_CX700_REGISTERS_H__
|
||||||
|
#define __VIA_CX700_REGISTERS_H__
|
||||||
|
|
||||||
/* CX700 has 48 bytes of scratch registers in D0F4 starting at Reg. 0xd0 */
|
/* CX700 has 48 bytes of scratch registers in D0F4 starting at Reg. 0xd0 */
|
||||||
#define SCRATCH_REG_BASE 0xd0
|
#define SCRATCH_REG_BASE 0xd0
|
||||||
#define SCRATCH_RANK_0 0xd0
|
#define SCRATCH_RANK_0 0xd0
|
||||||
|
@ -38,3 +41,5 @@
|
||||||
#define DDRII_333 0x2
|
#define DDRII_333 0x2
|
||||||
#define DDRII_266 0x1
|
#define DDRII_266 0x1
|
||||||
#define DDRII_200 0x0
|
#define DDRII_200 0x0
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -14,6 +14,9 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __VIA_VX900_CHIP_H__
|
||||||
|
#define __VIA_VX900_CHIP_H__
|
||||||
|
|
||||||
struct northbridge_via_vx900_config {
|
struct northbridge_via_vx900_config {
|
||||||
/**
|
/**
|
||||||
* \brief PCIe Lane[3:0] Function Select
|
* \brief PCIe Lane[3:0] Function Select
|
||||||
|
@ -47,3 +50,5 @@ struct northbridge_via_vx900_config {
|
||||||
*/
|
*/
|
||||||
char ext_int_route_to_pirq;
|
char ext_int_route_to_pirq;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue