commit | 8dd44b29616237d9f3f0f168e13c290cfc604989 | [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 | 68010aadf4c61b447ea5fbba297f194064834682 [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>