Thread (6 messages) 6 messages, 3 authors, 2008-04-03

Re: [PATCH] [POWERPC] CPM1: implement GPIO LIB API

flat view

From: Jochen Friedrich <jochen@scram.de>
Date: 2008-04-03 12:31:40
Also in: lkml

Hi Laurent,
I haven't checked all CPM1-based parts, but for the MPC855 family this doesn't 
look right. The MPC855 has two 32-bit ports, port B and port E. Registers for 
port B are dir, par, odr and dat, and registers for port E are dir, par, sor, 
odr and dat.
You probably mean MPC885. Thanks for catching this, the 32bit registers really
are a mess on CPM1 platforms.
Are you working on a similar patch for the CPM2 ? CPM2 I/O ports are 32 bit 
wide and their registers are layed out like for port E on the MPC855. It 
should thus be possible to share code between CPM1 and CPM2.
Yes, some common port setup code could probably be moved to cpm.c.

Thanks,
Jochen
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help