summaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake/include
diff options
context:
space:
mode:
authorLijian Zhao <lijian.zhao@intel.com>2018-09-18 12:05:37 -0700
committerMartin Roth <martinroth@google.com>2018-09-20 17:20:13 +0000
commit63da2061460ab0246f1b6347336c10d75f2149fa (patch)
treedf61734dd855c0141dee825cce61e5786e06a769 /src/soc/intel/cannonlake/include
parent985a4fc96c657af15ddd6a965f82cdfe58cd0dd8 (diff)
downloadcoreboot-63da2061460ab0246f1b6347336c10d75f2149fa.tar.xz
soc/intel/cannonlake: Remove const for spd_smbus_address
Remove const define for spd_smbus_address, the value can be updated depends on platform configuration. TEST=Build and Run on Whiskey Lake rvp platform. Found-by: Converity Scan #1395725 Change-Id: Ib933ed872e9f85087bb3cd76a1f1e29cca75cd54 Signed-off-by: Lijian Zhao <lijian.zhao@intel.com> Reviewed-on: https://review.coreboot.org/28664 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/cannonlake/include')
-rw-r--r--src/soc/intel/cannonlake/include/soc/cnl_memcfg_init.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/cannonlake/include/soc/cnl_memcfg_init.h b/src/soc/intel/cannonlake/include/soc/cnl_memcfg_init.h
index 7a76eb09f1..245d2cfd61 100644
--- a/src/soc/intel/cannonlake/include/soc/cnl_memcfg_init.h
+++ b/src/soc/intel/cannonlake/include/soc/cnl_memcfg_init.h
@@ -46,7 +46,7 @@ struct spd_info {
int spd_index;
struct spd_by_pointer spd_data_ptr_info;
} spd_spec;
- const uint8_t spd_smbus_address[4];
+ uint8_t spd_smbus_address[4];
};
/* Board-specific memory dq mapping information */