1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-20 14:38:20 +02:00
openwrt/target
Felix Fietkau 0f7de49fa3 ipq806x: fix freeze in PCIe code when booting with an old u-boot
Old bootloader (same ones which have DT disabled) don't perform any PCIe
initialization. The consequence is a freeze during PCIe bring-up on
these old u-boot. Same kernel with a newer bootloaders works fine as
they contain the corresponding PCIe init code.

In this change, we'll add the missing init and make sure the kernel
doesn't rely on some preexisting init to get PCIe to work. That includes
the following changes:
*GPIOs: set function & drive strength
*Clocks: add init code for aux & ref clocks
*PCIe driver: additional init of the hardware controller

Tested 3.18 and 4.1 on an AP148 with bootloader branch 0.0.1

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 46557
2015-08-04 23:10:03 +00:00
..
imagebuilder build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00
linux ipq806x: fix freeze in PCIe code when booting with an old u-boot 2015-08-04 23:10:03 +00:00
sdk sdk: provide explicit CONFIG_MODULES kconfig symbol 2015-07-27 23:45:15 +00:00
toolchain toolchain: respect CONFIG_VERSION_FILENAMES and add host system suffix 2015-02-07 21:01:37 +00:00
Config.in build: remove obsolete references to cris and avr32 2015-03-24 10:07:40 +00:00
Makefile