This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
spi registers (PDC registers)
- From: "Andrea Michelotti" <amichelotti at atmel dot com>
- To: <savin at elatec dot si>, "Andrew Lunn" <andrew dot lunn at ascom dot ch>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 5 Oct 2004 19:04:15 +0200
- Subject: [ECOS] spi registers (PDC registers)
Hi,
I completely agree with SPI register definition in var_io.h. And I'm happy
for the eCos spi driver (I'll try it asap) in the repository.
But I think there is a problem with PDC SPI/USART DMA registers
(XX_TPR,XXTCR...).
In fact these addresses can be different from chip to chip (diopsis is
different from eb55 and so on), they depend on how the PDC is compiled.
I suggest you only to put a #ifndef on PDC DMA registers to protect them
from multiple definition.
best regards
Andrea.
---------------------
Andrea Michelotti -
ATMEL Rome -
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss