commit | beadff1731bf607eee36467a3d3c12102a178c45 | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Fri Dec 25 14:41:21 2015 +0100 |
committer | Stefan Roese <sr@denx.de> | Thu Jan 14 14:08:59 2016 +0100 |
tree | 3ac287b85c392901de0149bbf25a4b475fc5b876 | |
parent | 9a04527840dbb2c7b8bc5bd5145fa9bd26c597b4 [diff] |
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: Phil Sutter <phil@nwl.cc> Acked-by: Stefan Roese <sr@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>