mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-11 23:33:26 +09:00
![]() 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> |
||
---|---|---|
.. | ||
baytrail | ||
broadwell | ||
coreboot | ||
efi | ||
intel_common | ||
ivybridge | ||
qemu | ||
quark | ||
queensbay | ||
call32.S | ||
call64.S | ||
config.mk | ||
cpu_x86.c | ||
cpu.c | ||
interrupts.c | ||
ioapic.c | ||
irq.c | ||
lapic.c | ||
Makefile | ||
mp_init.c | ||
mtrr.c | ||
pci.c | ||
resetvec.S | ||
sipi_vector.S | ||
start16.S | ||
start.S | ||
turbo.c | ||
u-boot.lds |