diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-01-30 13:49:34 (GMT) |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-02-27 20:19:24 (GMT) |
commit | 2458716a5b2269cff89f4b41afac16ac84bf6fb2 (patch) | |
tree | b4b55ca578f143cd9377544432ffb252bee8a8c9 /board/syteco | |
parent | 4ae6a91a86279c78c773f570057919dffecee484 (diff) | |
download | u-boot-2458716a5b2269cff89f4b41afac16ac84bf6fb2.tar.xz |
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 'board/syteco')
0 files changed, 0 insertions, 0 deletions