Skip to content
Commit beadff17 authored by Phil Sutter's avatar Phil Sutter Committed by Stefan Roese
Browse files

mvebu: axp: refactor board_sat_r_get() and caller



Instead of calling board_sat_r_get() only for those boards providing the
satr11 value via I2C, call it for all boards and return static values
for those not using I2C.

In addition to that, make this a weak function to allow for board code
to override it.

Signed-off-by: default avatarPhil Sutter <phil@nwl.cc>
Acked-by: default avatarStefan Roese <sr@denx.de>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 9a045278
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment