diff options
author | Stefan Roese <sr@denx.de> | 2007-10-03 10:38:09 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-10-31 21:20:49 +0100 |
commit | 03d344bb6a5f082ea10ec9d753558ea7dfd1c626 (patch) | |
tree | 735dcbdbc31bef60774550b00c4a364a6fcfa9a4 /cpu/ixp/cpu.c | |
parent | 026f71106871f31d17d0ea0db9a7547ff92934bc (diff) | |
download | u-boot-imx-03d344bb6a5f082ea10ec9d753558ea7dfd1c626.zip u-boot-imx-03d344bb6a5f082ea10ec9d753558ea7dfd1c626.tar.gz u-boot-imx-03d344bb6a5f082ea10ec9d753558ea7dfd1c626.tar.bz2 |
ppc4xx: Make 440SPe PCIe code more generic to use on different 4xx PPCs (3)
(3) This patch introduces macros like SDRN_PESDR_DLPSET(port) to access
the SDR registers of the PCIe ports. This makes the overall design
clearer, since it removed a lot of switch statements which are not
needed anymore.
Also, the functions ppc4xx_init_pcie_rootport() and
ppc4xx_init_pcie_entport() are merged into a single function
ppc4xx_init_pcie_port(), since most of the code was duplicated.
This makes maintainance and porting to other 4xx platforms
easier.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ixp/cpu.c')
0 files changed, 0 insertions, 0 deletions