This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

MPC860 Quick question


Hello,

It looks to me that the quicc_smc1.c file fits the MPC850 processor, but not
the MPC860 for the SMC2 initialization. The difference is in the pin
allocation for SMC2:

- Port B21 & B20 for MPC860
- Port A9 & A8 for MPC850

The current version of quicc_smc1.c initialize the port pins MPC850-like
(function cyg_hal_smcx_init_channel). 

My question is:
How is it better to add the MPC860 initialization version to the eCos sources?
Should I create a new file, use a conditional pre-compilation flag, or??

Also, there is a reference to a table (Table 16-39) in the quicc_smc1.c file,
but I do not know where to find it. In MPC850UM.pdf and MPC860UM.pdf, the Port
A and B configuration tables are: 34-1 and 34-6.

Thank you in advance,
Radu Cernea




-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]