From 1858d6a90a81aac67cde90190d8a332b2e817c9d Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 24 Jun 2017 21:30:42 -0600 Subject: src/southbridge: add IS_ENABLED() around Kconfig symbol references Change-Id: Ie965cbcf7f7b6f6c9e9a69e2a1ff0ba491246cbe Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/20353 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/southbridge/via/k8t890/romstrap.S | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/southbridge/via/k8t890/romstrap.S') diff --git a/src/southbridge/via/k8t890/romstrap.S b/src/southbridge/via/k8t890/romstrap.S index 2115eaa723..cb384e969d 100644 --- a/src/southbridge/via/k8t890/romstrap.S +++ b/src/southbridge/via/k8t890/romstrap.S @@ -29,7 +29,9 @@ __romstrap_start: * Below are some Dev0 Func2 HT control registers values, * depending on strap pin, one of below lines is used. */ -#if CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8M800 || CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8T800 || CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8T800_OLD +#if IS_ENABLED(CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8M800) || \ + IS_ENABLED(CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8T800) || \ + IS_ENABLED(CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8T800_OLD) tblpointer: .long 0x50220000, 0X619707C2 @@ -48,7 +50,7 @@ tblpointer: .long 0x0 .long 0x0 -#elif CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8M890 +#elif IS_ENABLED(CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8M890) tblpointer: .long 0x504400FF, 0x61970FC2 //;200M @@ -68,7 +70,7 @@ tblpointer: .long 0x0 -#elif CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8T890 +#elif IS_ENABLED(CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8T890) tblpointer: .long 0x504400AA, 0x61970FC2 //;200M -- cgit v1.2.3