summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2019-05-15 21:33:05 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-16 20:16:38 +0000
commitf295d8f113142d72b55cc9a14d33a6de4e6a4dbc (patch)
treeebdbf494ccd03301689cdf4c81aea7ed530b01ab /src
parentd8cd2e9c37377eae5cf42e1778aeb7682d2256ac (diff)
mb/ocp/monolake: replace IS_ENABLED(CONFIG_*) with CONFIG()
That's how we do it these days. Change-Id: I6bf6460440d0f2e6973734ba8894a4be981d03c5 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32812 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/ocp/monolake/mainboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/ocp/monolake/mainboard.c b/src/mainboard/ocp/monolake/mainboard.c
index d457859d44..bbfeeafb3b 100644
--- a/src/mainboard/ocp/monolake/mainboard.c
+++ b/src/mainboard/ocp/monolake/mainboard.c
@@ -23,7 +23,7 @@
#define BMC_KCS_BASE 0xca2
#define INTERFACE_IS_IO 0x1
-#if IS_ENABLED(CONFIG_GENERATE_SMBIOS_TABLES)
+#if CONFIG(GENERATE_SMBIOS_TABLES)
static int mainboard_smbios_data(struct device *dev, int *handle,
unsigned long *current)
{
@@ -50,7 +50,7 @@ static int mainboard_smbios_data(struct device *dev, int *handle,
*/
static void mainboard_enable(struct device *dev)
{
-#if IS_ENABLED(CONFIG_GENERATE_SMBIOS_TABLES)
+#if CONFIG(GENERATE_SMBIOS_TABLES)
dev->ops->get_smbios_data = mainboard_smbios_data;
#endif