This is the mail archive of the ecos-patches@sourceware.org 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]

[Bug 1001450] Kinetis HAL and driver upgrade


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001450

--- Comment #33 from Ilija Kocho <ilijak@siva.com.mk> 2012-02-13 14:32:06 GMT ---
(In reply to comment #32)
> Looking at the MMC bus cdl declaration in the TWR-K60N512 platform
> modifications patch:
> 
>   cdl_component CYGHWR_DEVS_DISK_MMC_FREESCALE_DSPI_BUS {
>       ...
> 
>       requires CYGHWR_DEVS_SPI_FREESCALE_DSPI1 == 1
>       ^^^^^^^
> 
> That would seem to imply that only one device can be attached to the DSPI1 bus,
> which does not seem right? I think only the bus+cs combination needs to be
> unique, and this is already being enforced in the SPI driver patch.

No, it will only infer DSPI1 bus to became active. If another device requires
CYGHWR_DEVS_SPI_FREESCALE_DSPI1 it will infer the same. An OR function: if any
device requires CYGHWR_DEVS_SPI_FREESCALE_DSPI1, the DSPI1 becomes active. The
example is TWR-K60N512-FXM where MMC and SST25XX share the same SPI bus.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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