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>
This commit is contained in:
parent
f295d8f113
commit
d939183719
|
@ -129,7 +129,7 @@ void qclib_load_and_run(void)
|
||||||
memset(ddr_region, 0, sizeof(struct region));
|
memset(ddr_region, 0, sizeof(struct region));
|
||||||
|
|
||||||
/* output area, QCLib copies console log buffer out */
|
/* 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_add_if_table_entry(QCLIB_TE_QCLIB_LOG_BUFFER,
|
||||||
_qclib_serial_log,
|
_qclib_serial_log,
|
||||||
REGION_SIZE(qclib_serial_log), 0);
|
REGION_SIZE(qclib_serial_log), 0);
|
||||||
|
@ -152,11 +152,11 @@ void qclib_load_and_run(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Enable QCLib serial output, based on Kconfig */
|
/* Enable QCLib serial output, based on Kconfig */
|
||||||
if (IS_ENABLED(CONFIG_CONSOLE_SERIAL))
|
if (CONFIG(CONSOLE_SERIAL))
|
||||||
qclib_cb_if_table.global_attributes =
|
qclib_cb_if_table.global_attributes =
|
||||||
QCLIB_GA_ENABLE_UART_LOGGING;
|
QCLIB_GA_ENABLE_UART_LOGGING;
|
||||||
|
|
||||||
if (IS_ENABLED(CONFIG_QC_SDI_ENABLE)) {
|
if (CONFIG(QC_SDI_ENABLE)) {
|
||||||
struct prog qcsdi =
|
struct prog qcsdi =
|
||||||
PROG_INIT(PROG_REFCODE, CONFIG_CBFS_PREFIX "/qcsdi");
|
PROG_INIT(PROG_REFCODE, CONFIG_CBFS_PREFIX "/qcsdi");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue