coreboot/src/include
Julius Werner 496ef1a9e9 Add new CONFIG(XXX) macro to replace IS_ENABLED(CONFIG_XXX)
The IS_ENABLED() macro is pretty long and unwieldy for something so
widely used, and often forces line breaks just for checking two Kconfigs
in a row. Let's replace it with something that takes up less space to
make our code more readable. From now on,

 if (IS_ENABLED(CONFIG_XXX))
 #if IS_ENABLED(CONFIG_XXX)

shall become

 if (CONFIG(XXX))
 #if CONFIG(XXX)

Change-Id: I2468427b569b974303084574125a9e1d9f6db596
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31773
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2019-03-07 17:06:28 +00:00
..
boot
console console: Split loglevel for fast and slow 2019-02-27 11:10:00 +00:00
cpu arch/io.h: Add missing includes 2019-03-04 14:07:46 +00:00
device soc/intel/skylake: Add H110 PCH series 2019-03-06 20:06:48 +00:00
pc80 src: Fix the warning "type 'hex' are always defined" 2019-01-27 11:14:26 +00:00
smp
superio
sys
adainit.h
assert.h
b64_decode.h
base3.h
bcd.h
boardid.h
boot_device.h lib/boot_device: Add API for write protect a region 2019-01-21 13:25:46 +00:00
bootblock_common.h bootblock: Move function prototype 2018-12-30 11:32:08 +00:00
bootmem.h bootmem: add new memory type for BL31 2019-02-05 13:41:45 +00:00
bootmode.h
bootstate.h buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
cbfs.h
cbmem.h cbmem_top: Fix comment and remove upper limit 2019-01-24 13:54:21 +00:00
cper.h
delay.h
device_tree.h
dimm_info_util.h
edid.h
elog.h coreboot: check Cr50 PM mode on normal boot 2019-02-13 13:03:33 +00:00
endian.h
fallback.h
fit.h
fit_payload.h
fmap.h
gic.h
gpio.h
halt.h
imd.h
inttypes.h
ip_checksum.h
kconfig.h Add new CONFIG(XXX) macro to replace IS_ENABLED(CONFIG_XXX) 2019-03-07 17:06:28 +00:00
lib.h
list.h
main_decl.h
memlayout.h security/tpm: Fix TCPA log feature 2019-03-07 12:47:01 +00:00
memory_info.h SMBIOS: Remove duplicated smbios_memory_type enum 2018-11-16 15:48:04 +00:00
memrange.h
mrc_cache.h
nhlt.h lib/hardwaremain: Fix more ACPI/IOAPIC typos 2019-01-31 04:34:53 +00:00
option.h
program_loading.h selfload: check target memory type in selfload_check 2019-01-30 11:04:49 +00:00
random.h
reg_script.h arch/io.h: Fix PCI and PNP simple typedefs 2019-03-04 14:07:23 +00:00
region_file.h
reset.h
rmodule.h
romstage_handoff.h
rtc.h
rules.h arch/arm64: Add PCI config support in romstage 2019-02-22 19:32:36 +00:00
sar.h vendorcode/google: support multiple SAR filenames 2018-12-17 14:26:10 +00:00
sdram_mode.h
smbios.h Add missing u8 eos[2] declaration to struct smbios_type38 2019-02-26 21:41:20 +00:00
smmstore.h smmstore: make smmstore's SMM handler code follow everything else 2018-12-05 13:31:22 +00:00
spd.h
spd_bin.h
spd_ddr2.h
spi-generic.h drivers/spi: Add controller protection type 2019-01-21 13:25:31 +00:00
spi_bitbang.h
spi_flash.h drivers/spi: Add controller protection type 2019-01-21 13:25:31 +00:00
stage_cache.h
stddef.h buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
stdlib.h src: Remove duplicated round up function 2018-11-29 12:17:45 +00:00
string.h string: move strdup() & strconcat() to lib/string.c 2019-01-30 11:05:20 +00:00
swab.h
symbols.h symbols.h: Add macro to define memlayout region symbols 2019-02-22 06:44:02 +00:00
thread.h
timer.h
timestamp.h arch/x86 cbmem: Drop tests for LATE_CBMEM_INIT 2018-12-22 11:48:37 +00:00
trace.h
types.h
uuid.h
vbe.h
version.h ACPI: Correct asl_compiler_revision value 2019-02-21 19:07:31 +00:00
watchdog.h
wrdd.h