diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-01-30 13:49:34 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-02-27 21:19:24 +0100 |
commit | 2458716a5b2269cff89f4b41afac16ac84bf6fb2 (patch) | |
tree | b4b55ca578f143cd9377544432ffb252bee8a8c9 /include/linux | |
parent | 4ae6a91a86279c78c773f570057919dffecee484 (diff) | |
download | u-boot-imx-2458716a5b2269cff89f4b41afac16ac84bf6fb2.zip u-boot-imx-2458716a5b2269cff89f4b41afac16ac84bf6fb2.tar.gz u-boot-imx-2458716a5b2269cff89f4b41afac16ac84bf6fb2.tar.bz2 |
integrator: rewrite the AP PCI driver
The PCI support for the Integrator AP has apparently never
been finished and I strongly suspect that it has never worked,
so let's fix it. This is a list of the more or less
un-splittable changes done in this driver rewrite:
- Replace the register definitions stashed into the config
file (!) with a copy if the register file from the Linux
kernels arch/arm/include/asm/hardware/pci_v3.h
- Delete the unreadable gigantic macros that perform the
config accesses and replace them with copyedited code from
Linux arch/arm/mach-integrator/pci_v3.c
- Rewrite the rest of the setup code to use the
v3_[read|write][lwb]() accessors.
- Enable PCI by default in the AP board configuration.
- Fix checkpatch warnings and make code more conformant.
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions