19 #define SOUTHBRIDGE PCI_DEV(0, 0x1f, 0)
64 RCBA32(0x2340) = (
RCBA32(0x2340) & ~0xff0000) | (0x3a << 16);
93 RCBA32(
V0CTL) = (1 << 31) | (0 << 24) | (0x0c << 1) | 1;
100 RCBA32(
V1CTL) = (1 << 31) | (1 << 24) | (0x11 << 1);
109 RCBA32(
CIR31) = (1 << 31) | (2 << 24) | (0x22 << 1);
118 RCBA32(
CIR32) = (1 << 31) | (7 << 24) | (0x40 << 1);
143 RCBA32(0x100c) = 0x01110000;
144 RCBA8(0x2340) = 0x1b;
148 RCBA32(0x2310) = 0xa809605b;
152 RCBA32(0x2310) = 0xa809605b;
154 RCBA32(0x2310) = 0xa809605b;
DEVTREE_CONST struct device * pcidev_on_root(uint8_t dev, uint8_t fn)
static __always_inline void pci_write_config32(const struct device *dev, u16 reg, u32 val)
static __always_inline u8 pci_read_config8(const struct device *dev, u16 reg)
static __always_inline void pci_write_config16(const struct device *dev, u16 reg, u16 val)
static __always_inline void pci_write_config8(const struct device *dev, u16 reg, u8 val)
const struct pch_gpio_map mainboard_gpio_map
void write_pmbase16(const u8 addr, const u16 val)
const struct smm_save_state_ops *legacy_ops __weak
static void enable_smbus(void)
static void pch_enable_gbe(void)
void early_pch_init(void)
static void pch_enable_bars(void)
void early_pch_init_native(void)
static void wait_iobp(void)
void early_pch_init_native_dmi_pre(void)
void early_pch_init_native_dmi_post(void)
static void write_iobp(u32 address, u32 val)
static void pch_enable_lpc_decode(void)
__weak void mainboard_pch_lpc_setup(void)
static u32 read_iobp(u32 address)
static void pch_generic_setup(void)
#define SATA_IOBP_SP0G3IR
#define SATA_IOBP_SP1G3IR
void setup_pch_gpios(const struct pch_gpio_map *gpio)
DEVTREE_CONST void * chip_info