summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/chip/chip.c
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-12-15 11:48:58 +0000
committerMartin L Roth <gaumless@gmail.com>2022-12-17 20:23:55 +0000
commite56a812a6ad91d4109dc380258c787c85a7b082a (patch)
treee0f00bfbd6b9a57b8752d213c097af861855d545 /src/soc/intel/common/block/chip/chip.c
parentd14461f40341ede21fd5f2a5bb3e5a27d17f9294 (diff)
soc/intel/common: Remove read-only from chip_get_common_soc_structure
Remove the `const` property from chip_get_common_soc_structure so that the returned values can be overwritten as required. Cc: th3fanbus@gmail.com Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I7d3db0bc119cd9b9b276abd68754e750e06a788c Reviewed-on: https://review.coreboot.org/c/coreboot/+/70774 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/common/block/chip/chip.c')
-rw-r--r--src/soc/intel/common/block/chip/chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/chip/chip.c b/src/soc/intel/common/block/chip/chip.c
index f52d242357..29d9f50874 100644
--- a/src/soc/intel/common/block/chip/chip.c
+++ b/src/soc/intel/common/block/chip/chip.c
@@ -2,7 +2,7 @@
#include <soc/soc_chip.h>
-const struct soc_intel_common_config *chip_get_common_soc_structure(void)
+struct soc_intel_common_config *chip_get_common_soc_structure(void)
{
return &((config_t *)config_of_soc())->common_soc_config;
}