1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <console/streams.h>
5 #include <soc/pei_data.h>
6 #include <soc/pei_wrapper.h>
8 static void ABI_X86
send_to_console(unsigned char b
)
13 void broadwell_fill_pei_data(struct pei_data
*pei_data
)
15 pei_data
->pei_version
= PEI_VERSION
;
16 pei_data
->board_type
= BOARD_TYPE_ULT
;
17 pei_data
->usbdebug
= CONFIG(USBDEBUG
);
18 pei_data
->pciexbar
= MCFG_BASE_ADDRESS
;
19 pei_data
->smbusbar
= SMBUS_BASE_ADDRESS
;
20 pei_data
->ehcibar
= EARLY_EHCI_BAR
;
21 pei_data
->xhcibar
= EARLY_XHCI_BAR
;
22 pei_data
->gttbar
= EARLY_GTT_BAR
;
23 pei_data
->pmbase
= ACPI_BASE_ADDRESS
;
24 pei_data
->gpiobase
= GPIO_BASE_ADDRESS
;
25 pei_data
->tseg_size
= CONFIG_SMM_TSEG_SIZE
;
26 pei_data
->temp_mmio_base
= EARLY_TEMP_MMIO
;
27 pei_data
->tx_byte
= &send_to_console
;
28 pei_data
->ddr_refresh_2x
= 1;