Re: [U-Boot] [PATCH v3 05/10] mvebu: axp: refactor board_sat_r_get() and caller

2016-01-13 Thread Tom Rini
On Fri, Dec 25, 2015 at 02:41:21PM +0100, Phil Sutter wrote: > 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 fo

[U-Boot] [PATCH v3 05/10] mvebu: axp: refactor board_sat_r_get() and caller

2015-12-25 Thread Phil Sutter
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 --- .../arm/m