summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2019-05-15 21:33:42 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-16 20:16:41 +0000
commitd9391837198d838d55ecf853ca70a675f9ca36aa (patch)
tree4db66bdd729f21833680343c8ea81094b9d320dc
parentf295d8f113142d72b55cc9a14d33a6de4e6a4dbc (diff)
downloadcoreboot-d9391837198d838d55ecf853ca70a675f9ca36aa.tar.xz
soc/qualcomm/common: replace IS_ENABLED(CONFIG_*) with CONFIG()
That's how we do it these days. Change-Id: I1c088d23dff709bcdcb21310059e6a2aab84c0be Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32813 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r--src/soc/qualcomm/common/qclib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/qualcomm/common/qclib.c b/src/soc/qualcomm/common/qclib.c
index 1fd79b57b5..73c525001e 100644
--- a/src/soc/qualcomm/common/qclib.c
+++ b/src/soc/qualcomm/common/qclib.c
@@ -129,7 +129,7 @@ void qclib_load_and_run(void)
memset(ddr_region, 0, sizeof(struct region));
/* output area, QCLib copies console log buffer out */
- if (IS_ENABLED(CONFIG_CONSOLE_CBMEM))
+ if (CONFIG(CONSOLE_CBMEM))
qclib_add_if_table_entry(QCLIB_TE_QCLIB_LOG_BUFFER,
_qclib_serial_log,
REGION_SIZE(qclib_serial_log), 0);
@@ -152,11 +152,11 @@ void qclib_load_and_run(void)
}
/* Enable QCLib serial output, based on Kconfig */
- if (IS_ENABLED(CONFIG_CONSOLE_SERIAL))
+ if (CONFIG(CONSOLE_SERIAL))
qclib_cb_if_table.global_attributes =
QCLIB_GA_ENABLE_UART_LOGGING;
- if (IS_ENABLED(CONFIG_QC_SDI_ENABLE)) {
+ if (CONFIG(QC_SDI_ENABLE)) {
struct prog qcsdi =
PROG_INIT(PROG_REFCODE, CONFIG_CBFS_PREFIX "/qcsdi");