Re: [U-Boot] [U-Boot, v4, 1/4] power: regulator: rk8xx: Build get_ldo_reg only for SPL

2017-07-04 Thread Philipp Tomsich
> Enabling CONFIG_SPL_POWER_SUPPORT will cause a compiler warning: > ‘get_ldo_reg’ defined but not used [-Wunused-function] > > Let's wrap get_ldo_reg(), rk808_ldo and rk818_ldo with ENABLE_DRIVER > which is only set for non SPL builds. > > Signed-off-by: Wadim Egorov

Re: [U-Boot] [U-Boot, v4, 1/4] power: regulator: rk8xx: Build get_ldo_reg only for SPL

2017-06-26 Thread Philipp Tomsich
> Enabling CONFIG_SPL_POWER_SUPPORT will cause a compiler warning: > ‘get_ldo_reg’ defined but not used [-Wunused-function] > > Let's wrap get_ldo_reg(), rk808_ldo and rk818_ldo with ENABLE_DRIVER > which is only set for non SPL builds. > > Signed-off-by: Wadim Egorov >

Re: [U-Boot] [U-Boot, v4, 1/4] power: regulator: rk8xx: Build get_ldo_reg only for SPL

2017-06-25 Thread Philipp Tomsich
> Enabling CONFIG_SPL_POWER_SUPPORT will cause a compiler warning: > ‘get_ldo_reg’ defined but not used [-Wunused-function] > > Let's wrap get_ldo_reg(), rk808_ldo and rk818_ldo with ENABLE_DRIVER > which is only set for non SPL builds. > > Signed-off-by: Wadim Egorov >