diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-11-18 15:08:13 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-11-23 16:30:58 +0000 |
commit | 977673894ff486af2ff74ba5585ca6039701eb8f (patch) | |
tree | b9719dc91560c7f5fcb791da0c767979e9bb48e0 /src/soc/qualcomm/common/qupv3_config.c | |
parent | 334772008c547d971e2591ef53bd570c176572ed (diff) | |
download | coreboot-977673894ff486af2ff74ba5585ca6039701eb8f.tar.gz coreboot-977673894ff486af2ff74ba5585ca6039701eb8f.tar.bz2 coreboot-977673894ff486af2ff74ba5585ca6039701eb8f.zip |
src/soc/qualcomm: Remove unnecessary space after casts
Change-Id: Ic6c711fe3fad19c24ca4c01f8d0a4bc002f14bd6
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69807
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/qualcomm/common/qupv3_config.c')
-rw-r--r-- | src/soc/qualcomm/common/qupv3_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/qualcomm/common/qupv3_config.c b/src/soc/qualcomm/common/qupv3_config.c index b243fdded865..919c11bf4e22 100644 --- a/src/soc/qualcomm/common/qupv3_config.c +++ b/src/soc/qualcomm/common/qupv3_config.c @@ -188,7 +188,7 @@ void gpi_firmware_load(int addr) struct gsi_fw_hdr *gsi_hdr; struct gsi_fw_iep *fwIep; struct gsi_fw_iram *fwIRam; - struct gsi_regs *regs = (struct gsi_regs *)(uintptr_t) addr; + struct gsi_regs *regs = (struct gsi_regs *)(uintptr_t)addr; static const char * const filename = "fallback/gsi_fw"; /* Assign firmware header base */ @@ -241,7 +241,7 @@ static void qup_common_init(int addr) { struct qupv3_common_reg *qupv3_common; /* HPG section 3.1.2 */ - qupv3_common = (struct qupv3_common_reg *)(uintptr_t) addr; + qupv3_common = (struct qupv3_common_reg *)(uintptr_t)addr; setbits32(&qupv3_common->qupv3_common_cfg_reg, QUPV3_COMMON_CFG_FAST_SWITCH_TO_HIGH_DISABLE_BMSK); |