summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;