diff options
author | Julius Werner <jwerner@chromium.org> | 2019-03-05 16:53:33 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-08 08:33:24 +0000 |
commit | cd49cce7b70e80b4acc49b56bb2bb94370b4d867 (patch) | |
tree | 8e89136e2da7cf54453ba8c112eda94415b56242 /src/device/oprom/include | |
parent | b3a8cc54dbaf833c590a56f912209a5632b71f49 (diff) | |
download | coreboot-cd49cce7b70e80b4acc49b56bb2bb94370b4d867.tar.xz |
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>
Diffstat (limited to 'src/device/oprom/include')
-rw-r--r-- | src/device/oprom/include/io.h | 2 | ||||
-rw-r--r-- | src/device/oprom/include/x86emu/fpu_regs.h | 2 | ||||
-rw-r--r-- | src/device/oprom/include/x86emu/regs.h | 2 | ||||
-rw-r--r-- | src/device/oprom/include/x86emu/x86emu.h | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/device/oprom/include/io.h b/src/device/oprom/include/io.h index 3a723bd056..09e25f031a 100644 --- a/src/device/oprom/include/io.h +++ b/src/device/oprom/include/io.h @@ -14,7 +14,7 @@ #ifndef __OPROM_IO_H__ #define __OPROM_IO_H__ -#if IS_ENABLED(CONFIG_ARCH_X86) +#if CONFIG(ARCH_X86) #include <arch/io.h> #else void outb(u8 val, u16 port); diff --git a/src/device/oprom/include/x86emu/fpu_regs.h b/src/device/oprom/include/x86emu/fpu_regs.h index a9b4893801..a872e19896 100644 --- a/src/device/oprom/include/x86emu/fpu_regs.h +++ b/src/device/oprom/include/x86emu/fpu_regs.h @@ -102,7 +102,7 @@ struct x86_fpu_registers { #endif /* X86_FPU_SUPPORT */ -#if IS_ENABLED(CONFIG_X86EMU_DEBUG) +#if CONFIG(X86EMU_DEBUG) # define DECODE_PRINTINSTR32(t,mod,rh,rl) \ DECODE_PRINTF(t[(mod<<3)+(rh)]); # define DECODE_PRINTINSTR256(t,mod,rh,rl) \ diff --git a/src/device/oprom/include/x86emu/regs.h b/src/device/oprom/include/x86emu/regs.h index 51e9719b3c..7640c78896 100644 --- a/src/device/oprom/include/x86emu/regs.h +++ b/src/device/oprom/include/x86emu/regs.h @@ -278,7 +278,7 @@ typedef struct { u32 mode; volatile int intr; /* mask of pending interrupts */ volatile int debug; -#if IS_ENABLED(CONFIG_X86EMU_DEBUG) +#if CONFIG(X86EMU_DEBUG) int check; u16 saved_ip; u16 saved_cs; diff --git a/src/device/oprom/include/x86emu/x86emu.h b/src/device/oprom/include/x86emu/x86emu.h index a5d436af94..fa23e55cd3 100644 --- a/src/device/oprom/include/x86emu/x86emu.h +++ b/src/device/oprom/include/x86emu/x86emu.h @@ -43,7 +43,7 @@ #include <stddef.h> #include <console/console.h> -#if IS_ENABLED(CONFIG_X86EMU_DEBUG) +#if CONFIG(X86EMU_DEBUG) #define DEBUG #endif @@ -153,7 +153,7 @@ void X86EMU_setMemBase(void *base, size_t size); void X86EMU_exec(void); void X86EMU_halt_sys(void); -#if IS_ENABLED(CONFIG_X86EMU_DEBUG) +#if CONFIG(X86EMU_DEBUG) #define HALT_SYS() \ printf("halt_sys: in %s\n", __func__); \ X86EMU_halt_sys(); |