coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX)
This patch is a raw application of find src/ -type f | xargs sed -i -e 's/IS_ENABLED\s*(CONFIG_/CONFIG(/g' Change-Id: I6262d6d5c23cabe23c242b4f38d446b74fe16b88 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31774 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
b3a8cc54db
commit
cd49cce7b7
@@ -26,7 +26,7 @@ enum {
|
||||
};
|
||||
|
||||
|
||||
#if IS_ENABLED(CONFIG_VGA_ROM_RUN)
|
||||
#if CONFIG(VGA_ROM_RUN)
|
||||
/* Install custom int15 handler for VGA OPROM */
|
||||
void install_intel_vga_int15_handler(int active_lfp, int pfit, int display, int panel_type);
|
||||
#else
|
||||
|
@@ -91,7 +91,7 @@ void intel_gma_opregion_register(uintptr_t opregion)
|
||||
* Atom-based platforms use a combined SMI/SCI register,
|
||||
* whereas non-Atom platforms use a separate SCI register.
|
||||
*/
|
||||
if (IS_ENABLED(CONFIG_INTEL_GMA_SWSMISCI))
|
||||
if (CONFIG(INTEL_GMA_SWSMISCI))
|
||||
sci_reg = SWSMISCI;
|
||||
else
|
||||
sci_reg = SWSCI;
|
||||
|
@@ -60,7 +60,7 @@ static size_t generate_vbt(const struct i915_gpu_controller_info *const conf,
|
||||
genfeat->flexaim = 1;
|
||||
genfeat->download_ext_vbt = 1;
|
||||
genfeat->enable_ssc = conf->use_spread_spectrum_clock;
|
||||
genfeat->ssc_freq = IS_ENABLED(CONFIG_INTEL_GMA_SSC_ALTERNATE_REF);
|
||||
genfeat->ssc_freq = CONFIG(INTEL_GMA_SSC_ALTERNATE_REF);
|
||||
genfeat->rsvd10 = 0x4;
|
||||
genfeat->legacy_monitor_detect = 1;
|
||||
genfeat->int_crt_support = 1;
|
||||
|
Reference in New Issue
Block a user