diff options
author | Fred Reitberger <reitbergerfred@gmail.com> | 2022-05-06 15:59:15 -0400 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-05-16 15:22:04 +0000 |
commit | 727bebb095c589860008ab41310aae9c1d6fcf19 (patch) | |
tree | 9433d4bfebf0a85e6e6de94e43d14e3cd9aee938 /src/drivers/i2c/max98390/chip.h | |
parent | ab660f533f7cb2868764a3ae60a245ab858eb314 (diff) |
soc/amd/cezanne/fsp_m_params: fix modification of constant
mcfg->usb_phy is a pointer to a struct usb_phy_config. The config is
constant. Changing a constant is undefined behavior, so create a local
static instance of usb_phy_config that can be modified safely.
Change-Id: If9b76b869a5b0581f979432ce57cc40f1c253880
Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64133
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/drivers/i2c/max98390/chip.h')
0 files changed, 0 insertions, 0 deletions