u-boot-brain/arch/arm
Chen-Yu Tsai dec7c84227 sunxi: rsb: Enable R_PIO clock before configuring external pins
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@csie.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Tested-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2015-07-05 11:32:11 +02:00
..
cpu sunxi: rsb: Enable R_PIO clock before configuring external pins 2015-07-05 11:32:11 +02:00
dts Merge branch 'master' of git://git.denx.de/u-boot-spi 2015-07-01 15:38:12 -04:00
imx-common imx: drop warning: unused variable 'max_freq' 2015-06-08 08:55:08 +02:00
include Revert "sunxi/nand: Add support to the SPL for loading u-boot from internal NAND memory" 2015-06-28 11:46:31 -04:00
lib common/cmd_boot: keep ARM v7M in thumb mode during do_go_exec() 2015-05-28 08:18:23 -04:00
mach-at91 ARM: at91: remove non-generic boards 2015-05-13 13:01:25 +02:00
mach-bcm283x Move default y configs out of arch/board Kconfig 2015-06-25 22:17:55 -04:00
mach-davinci arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-keystone keystone2: use correct EFUSE_BOOTROM fileds to configure speed 2015-06-19 16:46:46 -04:00
mach-kirkwood arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-mvebu arm: mvebu: Update CBAR with SOC regs base 2015-06-14 17:48:28 +02:00
mach-nomadik arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-orion5x arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-socfpga arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-tegra Move default y configs out of arch/board Kconfig 2015-06-25 22:17:55 -04:00
mach-uniphier ARM: UniPhier: add IDs for PH1-Pro5, ProXstream2, PH1-LD6b 2015-07-02 01:07:25 +09:00
mach-versatile ARM: versatile: move SoC sources to mach-versatile 2015-02-21 08:23:51 -05:00
mach-zynq ARM: zynq: add default ps7_init_gpl.c/h for Zed, MicroZed, ZC70x 2015-05-25 10:52:36 +02:00
mvebu-common arm: mvebu: Move mvebu-common into mach-mvebu 2015-05-05 14:28:29 +02:00
config.mk arm: Include the .got section in the binary 2015-05-14 18:49:34 -06:00
Kconfig zynq: defconfig: Move CONFIG_OF_* to Kconfig 2015-07-01 21:15:03 +05:30
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile ARM: socfpga: move SoC sources to mach-socfpga 2015-05-07 05:21:12 +02:00