MIPS: Netlogic: update iomap.h for XLP9XX
Most IO block offsets have changed in XLP9XX. Update iomap.h to add the new addresses of different SoC blocks like PIC, SYS, UART etc. that are needed by the base code. On XLP9xx, the SoC blocks of other nodes are seen on a PCI bus corresponding to the node. Update iomap code to reflect this. Signed-off-by: Jayachandran C <jchandra@broadcom.com> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/6277/
This commit is contained in:

committed by
Ralf Baechle

parent
8907c55e72
commit
5513c760db
@@ -57,6 +57,10 @@ void nlm_node_init(int node)
|
||||
nodep->sysbase = nlm_get_sys_regbase(node);
|
||||
nodep->picbase = nlm_get_pic_regbase(node);
|
||||
nodep->ebase = read_c0_ebase() & (~((1 << 12) - 1));
|
||||
if (cpu_is_xlp9xx())
|
||||
nodep->socbus = xlp9xx_get_socbus(node);
|
||||
else
|
||||
nodep->socbus = 0;
|
||||
spin_lock_init(&nodep->piclock);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user