[U-Boot] [PATCH 2/5] sunxi: rsb: Enable R_PIO clock before configuring external pins

Maxime Ripard maxime.ripard at free-electrons.com
Tue Jun 23 20:29:21 CEST 2015


On Tue, Jun 23, 2015 at 07:57:24PM +0800, Chen-Yu Tsai wrote:
> The original code was configuring the external pins after enabling
> the R_PIO clock, which meant the configuration never made it to
> the pin controller the first time in SPL.
> 
> Why this was working before is uncertain. Maybe the state was left
> from a previous boot sequence, or RSB just happened to be the default
> configuration. However with some A33 chips, SPL failed to configure
> the PMIC. This was seen by me and Maxime on the Sinlinx SinA33 dev
> board.
> 
> Reordering the calls fixed this.
> 
> Signed-off-by: Chen-Yu Tsai <wens at csie.org>
> Cc: Maxime Ripard <maxime.ripard at free-electrons.com>

Tested-by: Maxime Ripard <maxime.ripard at free-electrons.com>

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150623/60c524de/attachment.sig>


More information about the U-Boot mailing list