soc/inte/common: Replace #if macro with if C-language constuct
commit4c2890d47ef03e5c638a9ac81d14cf3755f64cfc
authorSridhar Siricilla <sridhar.siricilla@intel.com>
Tue, 8 Dec 2020 18:58:30 +0000 (9 00:28 +0530)
committerTim Wawrzynczak <twawrzynczak@chromium.org>
Mon, 14 Dec 2020 16:12:52 +0000 (14 16:12 +0000)
treeac74a225b2d0d6be2bca28a660e7ac33492313f7
parentabeb688154d9be5487403a65a74c8c24d380b3bf
soc/inte/common: Replace #if macro with if C-language constuct

This patch modifies CSE Lite driver to use 'if' C-lanugage construct
instead of #if macro and adds 'if SOC_INTEL_CSE_RW_UPDATE' to the prompts
of CSE Update related KConfigs to prevent appearing them in the menu.

TEST=Built the code for drawcia

Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com>
Change-Id: Iecd5cf56ecd280de920f479e174762fe6b4164b0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48494
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
src/soc/intel/common/block/cse/Kconfig
src/soc/intel/common/block/cse/cse_lite.c