Change-Id: Iadc813bc8208278996b2b1aa20cfb156ec06fac9 Signed-off-by: Martin Roth <martin.roth@se-eng.com> Reviewed-on: http://review.coreboot.org/3755 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
31 lines
596 B
C
31 lines
596 B
C
#ifndef AMDK8_SYSCONF_H
|
|
#define AMDK8_SYSCONF_H
|
|
|
|
#define HC_POSSIBLE_NUM 8
|
|
|
|
struct amdk8_sysconf_t {
|
|
//ht
|
|
unsigned nodes;
|
|
unsigned hc_possible_num;
|
|
unsigned pci1234[HC_POSSIBLE_NUM];
|
|
unsigned hcdn[HC_POSSIBLE_NUM];
|
|
unsigned hcid[HC_POSSIBLE_NUM]; //record ht chain type
|
|
unsigned sbdn;
|
|
unsigned sblk;
|
|
|
|
unsigned hcdn_reg[4]; // it will be used by get_sblk_pci1234
|
|
|
|
int enabled_apic_ext_id;
|
|
unsigned lift_bsp_apicid;
|
|
int apicid_offset;
|
|
|
|
void *mb; // pointer for mb related struct
|
|
|
|
};
|
|
|
|
extern struct amdk8_sysconf_t sysconf;
|
|
|
|
void get_sblk_pci1234(void);
|
|
void get_bus_conf(void);
|
|
#endif
|