u-boot/arch/x86
Bin Meng d8906c1f3f x86: Probe pinctrl driver in cpu_init_r()
At present pinctrl driver gets probed in ich6_gpio driver's probe
routine, which has two issues:

 - Pin's PADs only gets configured when GPIO driver is probed, which
   is not done by default. This leaves the board in a partially
   functional state as we must initialize PADs correctly to get
   perepherals fully working.
 - The probe routine of pinctrl driver is called multiple times, as
   normally there are multiple GPIO controllers. It should really
   be called just once.

Move the call to syscon_get_by_driver_data() from ich6_gpio driver
to cpu_init_r().

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: George McCollister <george.mccollister@gmail.com>
Tested-by: George McCollister <george.mccollister@gmail.com>
2016-06-12 12:19:35 +08:00
..
cpu x86: Probe pinctrl driver in cpu_init_r() 2016-06-12 12:19:35 +08:00
dts x86: baytrail: Configure card detect pin of the SD controller 2016-06-12 12:19:35 +08:00
include/asm x86: quark: Add platform ASL files 2016-05-30 10:21:12 +08:00
lib x86: acpi: Fix madt lapic generation 2016-06-12 12:19:35 +08:00
config.mk efi: Add 64-bit payload support 2015-08-05 08:44:07 -06:00
Kconfig x86: kconfig: Add two options for SMBIOS manufacturer and product name 2016-05-23 15:27:42 +08:00
Makefile x86: Add support for U-Boot as an EFI application 2015-08-05 08:44:06 -06:00