static int board_setup(void) { sysinfo_install_flags(NULL); flash_set_ops(&new_mem_mapped_flash(0xffe00000, 0x200000)->ops); AhciCtrlr *ahci = new_ahci_ctrlr(PCI_DEV(0, 17, 0)); list_insert_after(&ahci->ctrlr.list_node, &fixed_block_dev_controllers); return 0; }
static int board_setup(void) { sysinfo_install_flags(); flash_set_ops(&new_mem_mapped_flash(0xff800000, 0x800000)->ops); sound_set_ops(&new_pcat_beep()->ops); AhciCtrlr *ahci = new_ahci_ctrlr(PCI_DEV(0, 31, 2)); list_insert_after(&ahci->ctrlr.list_node, &fixed_block_dev_controllers); power_set_ops(&pch_power_ops); tpm_set_ops(&new_lpc_tpm((void *)0xfed40000)->ops); return 0; }
static int board_setup(void) { sysinfo_install_flags(); LpPchGpio *ec_in_rw = new_lp_pch_gpio_input(25); flag_install(FLAG_ECINRW, &ec_in_rw->ops); CrosEcLpcBus *cros_ec_lpc_bus = new_cros_ec_lpc_bus(); cros_ec_set_bus(&cros_ec_lpc_bus->ops); flash_set_ops(&new_mem_mapped_flash(0xff800000, 0x800000)->ops); AhciCtrlr *ahci = new_ahci_ctrlr(PCI_DEV(0, 31, 2)); list_insert_after(&ahci->ctrlr.list_node, &fixed_block_dev_controllers); power_set_ops(&pch_power_ops); tpm_set_ops(&new_lpc_tpm((void *)(uintptr_t)0xfed40000)->ops); return 0; }
static int board_setup(void) { sysinfo_install_flags(NULL); // Read the current value of the recovery button instead of the // value passed by coreboot. LpPchGpio *rec_gpio = new_lp_pch_gpio_input(12); flag_replace(FLAG_RECSW, new_gpio_not(&rec_gpio->ops)); flash_set_ops(&new_mem_mapped_flash(0xff800000, 0x800000)->ops); sound_set_ops(&new_pcat_beep()->ops); AhciCtrlr *ahci = new_ahci_ctrlr(PCI_DEV(0, 31, 2)); list_insert_after(&ahci->ctrlr.list_node, &fixed_block_dev_controllers); power_set_ops(&pch_power_ops); tpm_set_ops(&new_lpc_tpm((void *)(uintptr_t)0xfed40000)->ops); return 0; }