RFC: cpm2_devices.c

Pantelis Antoniou panto at intracom.gr
Thu Jun 16 16:42:35 EST 2005


Let me hop in here...

Have you thought about breaking up the structures per
cpm peripheral?

Some registers are unique for each processor family, but
others are (almost) common to all.

For example SCC parameters & stuff are the same on 8xx/82xx ...

IMHO keeping one definition in the tree for these will make
keeping them in sync easier.

Then the main header file will be the definitions of the
unique registers, a number of defines for the structures offsets
and a list of included files for the common peripherals...

Regards

Pantelis



More information about the Linuxppc-embedded mailing list