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>
This commit is contained in:
parent
d14461f403
commit
e56a812a6a
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -29,6 +29,6 @@ struct soc_intel_common_config {
|
|||
};
|
||||
|
||||
/* This function to retrieve soc config structure required by common code */
|
||||
const struct soc_intel_common_config *chip_get_common_soc_structure(void);
|
||||
struct soc_intel_common_config *chip_get_common_soc_structure(void);
|
||||
|
||||
#endif /* SOC_INTEL_COMMON_BLOCK_CFG_H */
|
||||
|
|
Loading…
Reference in New Issue