diff options
author | John Rigby <jrigby@freescale.com> | 2008-10-07 19:00:18 (GMT) |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-10-13 16:09:58 (GMT) |
commit | 5b70a097052fff3831d8b94541452e7c29426777 (patch) | |
tree | a319e6f81c2ac7d50af76ce863118f515896c2ef /init/main.c | |
parent | 4a015c37409ead893b659c2f89f1aa1fdf512115 (diff) | |
download | linux-fsl-qoriq-5b70a097052fff3831d8b94541452e7c29426777.tar.xz |
powerpc: 83xx: pci: Remove need for get_immrbase from mpc83xx_add_bridge.
Modify mpc83xx_add_bridge to get config space register base address from
the device tree instead of immr + hardcoded offset.
83xx pci nodes have this change:
register properties now contain two address length tuples:
First is the pci bridge register base, this has always been there.
Second is the config base, this is new.
This is documented in dts-bindings/fsl/83xx-512x-pci.txt
The changes accomplish these things:
mpc83xx_add_bridge no longer needs to call get_immrbase
it uses hard coded addresses if the second register value is missing
Signed-off-by: John Rigby <jrigby@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions