soc/intel/broadwell: Fix use of CONFIG_USBDEBUG

Change-Id: I52c852fb449de5a6512aa2556592e6dfe7b0c573
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31992
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Kyösti Mälkki 2019-03-20 18:46:30 +02:00
parent b7daf7e8fa
commit fd159550b8
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ static void usb_ehci_set_subsystem(struct device *dev, unsigned int vendor,
static void ehci_enable(struct device *dev)
{
if (CONFIG_USBDEBUG)
if (CONFIG(USBDEBUG))
dev->enabled = 1;
else
pch_disable_devfn(dev);

View File

@ -30,7 +30,7 @@ void broadwell_fill_pei_data(struct pei_data *pei_data)
{
pei_data->pei_version = PEI_VERSION;
pei_data->board_type = BOARD_TYPE_ULT;
pei_data->usbdebug = CONFIG_USBDEBUG;
pei_data->usbdebug = CONFIG(USBDEBUG);
pei_data->pciexbar = MCFG_BASE_ADDRESS;
pei_data->smbusbar = SMBUS_BASE_ADDRESS;
pei_data->ehcibar = EARLY_EHCI_BAR;