soc/intel/{baytrail,braswell}: Drop unneeded `return`
There's no reason to return the result of a void function. Tested with BUILD_TIMELESS=1, Google Ninja remains identical. Change-Id: I677dec1622768874a51effd6d73f0b2329f27aed Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43193 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
e94a528765
commit
a81c8ee3a1
|
@ -85,7 +85,7 @@ uint32_t iosf_usbphy_read(int reg)
|
||||||
|
|
||||||
void iosf_usbphy_write(int reg, uint32_t val)
|
void iosf_usbphy_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(USBPHY), reg, val);
|
iosf_write_port(IOSF_WRITE(USBPHY), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_ushphy_read(int reg)
|
uint32_t iosf_ushphy_read(int reg)
|
||||||
|
@ -95,7 +95,7 @@ uint32_t iosf_ushphy_read(int reg)
|
||||||
|
|
||||||
void iosf_ushphy_write(int reg, uint32_t val)
|
void iosf_ushphy_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(USHPHY), reg, val);
|
iosf_write_port(IOSF_WRITE(USHPHY), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_lpss_read(int reg)
|
uint32_t iosf_lpss_read(int reg)
|
||||||
|
@ -105,7 +105,7 @@ uint32_t iosf_lpss_read(int reg)
|
||||||
|
|
||||||
void iosf_lpss_write(int reg, uint32_t val)
|
void iosf_lpss_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(LPSS), reg, val);
|
iosf_write_port(IOSF_WRITE(LPSS), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_ccu_read(int reg)
|
uint32_t iosf_ccu_read(int reg)
|
||||||
|
@ -115,7 +115,7 @@ uint32_t iosf_ccu_read(int reg)
|
||||||
|
|
||||||
void iosf_ccu_write(int reg, uint32_t val)
|
void iosf_ccu_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(CCU), reg, val);
|
iosf_write_port(IOSF_WRITE(CCU), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_score_read(int reg)
|
uint32_t iosf_score_read(int reg)
|
||||||
|
@ -125,7 +125,7 @@ uint32_t iosf_score_read(int reg)
|
||||||
|
|
||||||
void iosf_score_write(int reg, uint32_t val)
|
void iosf_score_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(SCORE), reg, val);
|
iosf_write_port(IOSF_WRITE(SCORE), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_scc_read(int reg)
|
uint32_t iosf_scc_read(int reg)
|
||||||
|
@ -135,7 +135,7 @@ uint32_t iosf_scc_read(int reg)
|
||||||
|
|
||||||
void iosf_scc_write(int reg, uint32_t val)
|
void iosf_scc_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(SCC), reg, val);
|
iosf_write_port(IOSF_WRITE(SCC), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_aunit_read(int reg)
|
uint32_t iosf_aunit_read(int reg)
|
||||||
|
@ -145,7 +145,7 @@ uint32_t iosf_aunit_read(int reg)
|
||||||
|
|
||||||
void iosf_aunit_write(int reg, uint32_t val)
|
void iosf_aunit_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(AUNIT), reg, val);
|
iosf_write_port(IOSF_WRITE(AUNIT), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_cpu_bus_read(int reg)
|
uint32_t iosf_cpu_bus_read(int reg)
|
||||||
|
@ -155,7 +155,7 @@ uint32_t iosf_cpu_bus_read(int reg)
|
||||||
|
|
||||||
void iosf_cpu_bus_write(int reg, uint32_t val)
|
void iosf_cpu_bus_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(CPU_BUS), reg, val);
|
iosf_write_port(IOSF_WRITE(CPU_BUS), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_sec_read(int reg)
|
uint32_t iosf_sec_read(int reg)
|
||||||
|
@ -165,7 +165,7 @@ uint32_t iosf_sec_read(int reg)
|
||||||
|
|
||||||
void iosf_sec_write(int reg, uint32_t val)
|
void iosf_sec_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(SEC), reg, val);
|
iosf_write_port(IOSF_WRITE(SEC), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_port45_read(int reg)
|
uint32_t iosf_port45_read(int reg)
|
||||||
|
@ -175,7 +175,7 @@ uint32_t iosf_port45_read(int reg)
|
||||||
|
|
||||||
void iosf_port45_write(int reg, uint32_t val)
|
void iosf_port45_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(0x45), reg, val);
|
iosf_write_port(IOSF_WRITE(0x45), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_port46_read(int reg)
|
uint32_t iosf_port46_read(int reg)
|
||||||
|
@ -185,7 +185,7 @@ uint32_t iosf_port46_read(int reg)
|
||||||
|
|
||||||
void iosf_port46_write(int reg, uint32_t val)
|
void iosf_port46_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(0x46), reg, val);
|
iosf_write_port(IOSF_WRITE(0x46), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_port47_read(int reg)
|
uint32_t iosf_port47_read(int reg)
|
||||||
|
@ -195,7 +195,7 @@ uint32_t iosf_port47_read(int reg)
|
||||||
|
|
||||||
void iosf_port47_write(int reg, uint32_t val)
|
void iosf_port47_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(0x47), reg, val);
|
iosf_write_port(IOSF_WRITE(0x47), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_port55_read(int reg)
|
uint32_t iosf_port55_read(int reg)
|
||||||
|
@ -205,7 +205,7 @@ uint32_t iosf_port55_read(int reg)
|
||||||
|
|
||||||
void iosf_port55_write(int reg, uint32_t val)
|
void iosf_port55_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(0x55), reg, val);
|
iosf_write_port(IOSF_WRITE(0x55), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_port58_read(int reg)
|
uint32_t iosf_port58_read(int reg)
|
||||||
|
@ -215,7 +215,7 @@ uint32_t iosf_port58_read(int reg)
|
||||||
|
|
||||||
void iosf_port58_write(int reg, uint32_t val)
|
void iosf_port58_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(0x58), reg, val);
|
iosf_write_port(IOSF_WRITE(0x58), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_port59_read(int reg)
|
uint32_t iosf_port59_read(int reg)
|
||||||
|
@ -225,7 +225,7 @@ uint32_t iosf_port59_read(int reg)
|
||||||
|
|
||||||
void iosf_port59_write(int reg, uint32_t val)
|
void iosf_port59_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(0x59), reg, val);
|
iosf_write_port(IOSF_WRITE(0x59), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_port5a_read(int reg)
|
uint32_t iosf_port5a_read(int reg)
|
||||||
|
@ -235,7 +235,7 @@ uint32_t iosf_port5a_read(int reg)
|
||||||
|
|
||||||
void iosf_port5a_write(int reg, uint32_t val)
|
void iosf_port5a_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(0x5a), reg, val);
|
iosf_write_port(IOSF_WRITE(0x5a), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_porta2_read(int reg)
|
uint32_t iosf_porta2_read(int reg)
|
||||||
|
@ -245,7 +245,7 @@ uint32_t iosf_porta2_read(int reg)
|
||||||
|
|
||||||
void iosf_porta2_write(int reg, uint32_t val)
|
void iosf_porta2_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(0xa2), reg, val);
|
iosf_write_port(IOSF_WRITE(0xa2), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_ssus_read(int reg)
|
uint32_t iosf_ssus_read(int reg)
|
||||||
|
@ -255,5 +255,5 @@ uint32_t iosf_ssus_read(int reg)
|
||||||
|
|
||||||
void iosf_ssus_write(int reg, uint32_t val)
|
void iosf_ssus_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(SSUS), reg, val);
|
iosf_write_port(IOSF_WRITE(SSUS), reg, val);
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,7 +94,7 @@ uint32_t iosf_scc_read(int reg)
|
||||||
|
|
||||||
void iosf_scc_write(int reg, uint32_t val)
|
void iosf_scc_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(SCC), reg, val);
|
iosf_write_port(IOSF_WRITE(SCC), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t iosf_usbphy_read(int reg)
|
uint32_t iosf_usbphy_read(int reg)
|
||||||
|
@ -104,7 +104,7 @@ uint32_t iosf_usbphy_read(int reg)
|
||||||
|
|
||||||
void iosf_usbphy_write(int reg, uint32_t val)
|
void iosf_usbphy_write(int reg, uint32_t val)
|
||||||
{
|
{
|
||||||
return iosf_write_port(IOSF_WRITE(USBPHY), reg, val);
|
iosf_write_port(IOSF_WRITE(USBPHY), reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if ENV_RAMSTAGE
|
#if ENV_RAMSTAGE
|
||||||
|
|
Loading…
Reference in New Issue