diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-08-04 23:10:03 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-08-04 23:10:03 +0000 |
commit | 657630dad24701ff9d2f9375e4966b940334ede9 (patch) | |
tree | 465b6598f346b045b50e5ce26fc002d70e8bde0e /target/linux/ipq806x/patches-4.1/126-add-rpm-to-ipq8064-dts.patch | |
parent | c3739df7a176ccbbe518dba956aef68120373c0d (diff) | |
download | master-187ad058-657630dad24701ff9d2f9375e4966b940334ede9.tar.gz master-187ad058-657630dad24701ff9d2f9375e4966b940334ede9.tar.bz2 master-187ad058-657630dad24701ff9d2f9375e4966b940334ede9.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46557 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ipq806x/patches-4.1/126-add-rpm-to-ipq8064-dts.patch')
0 files changed, 0 insertions, 0 deletions