From 63da2061460ab0246f1b6347336c10d75f2149fa Mon Sep 17 00:00:00 2001 From: Lijian Zhao Date: Tue, 18 Sep 2018 12:05:37 -0700 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/28664 Reviewed-by: Duncan Laurie Reviewed-by: Wonkyu Kim Tested-by: build bot (Jenkins) --- src/soc/intel/cannonlake/include/soc/cnl_memcfg_init.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */