summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-03-20 18:46:30 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-03-22 20:26:44 +0000
commitfd159550b882205d3d0f59231b495c0e912f8175 (patch)
tree177e97a8e5aa9fee037fabc5681fe1b1632aa69a /src/soc/intel/broadwell
parentb7daf7e8fa18de7bfb3cd102791bc6af89bac4b6 (diff)
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>
Diffstat (limited to 'src/soc/intel/broadwell')
-rw-r--r--src/soc/intel/broadwell/ehci.c2
-rw-r--r--src/soc/intel/broadwell/pei_data.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/broadwell/ehci.c b/src/soc/intel/broadwell/ehci.c
index f29c4269b1..a03fd5431b 100644
--- a/src/soc/intel/broadwell/ehci.c
+++ b/src/soc/intel/broadwell/ehci.c
@@ -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);
diff --git a/src/soc/intel/broadwell/pei_data.c b/src/soc/intel/broadwell/pei_data.c
index dfaf025b72..d8059ec5d2 100644
--- a/src/soc/intel/broadwell/pei_data.c
+++ b/src/soc/intel/broadwell/pei_data.c
@@ -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;