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 1001291] New HAL for Cortex-M3 Smartfusion device


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

--- Comment #43 from Ilija Kocho <ilijak@siva.com.mk> 2012-01-07 23:21:55 GMT ---
(In reply to comment #40)
> Hi Ilija,
> 
> I think the devs/flash/spi/at25dfxxx/flash_at25dfxxx.cdl could have the
> following entry:
> 
>     cdl_option CYGPKG_DEVS_FLASH_SPI_AT25DFXXX_TESTS {
>         display        "SPI flash driver tests for Atmel AT95DFxxx flash"
>         active_if      CYGPKG_KERNEL
>         active_if      CYGPKG_IO_SPI
>         requires       { CYGHWR_DEVS_FLASH_SPI_AT25DFXXX_DEVICE == 1 }
>         flavor  data
>         no_define
>         calculated { "tests/at25dfxxx_test.c" }
>         description   "
>             This option specifies the set of tests for the Atmel AT95DFxxx 
>             SPI flash."
>     }
> 
> The platform specific code shall implement
> CYGHWR_DEVS_FLASH_SPI_AT25DFXXX_DEVICE and define the base address of the SPI
> flash with: 
> 
> CYGHWR_DEVS_FLASH_SPI_AT25DFXXX_DEVICE0_BASE
> 
> Let me know what you think.
> 
> Christophe

Btw you can also put SPI parameters in this CDL package (bus, chip select,
speed, delays, etc).

-- 
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]