This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: How to "unimlement" an interface?
- From: Grant Edwards <grant dot b dot edwards at gmail dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 15 Mar 2012 14:46:59 +0000 (UTC)
- Subject: [ECOS] Re: How to "unimlement" an interface?
- References: <jjoaug$hhe$1@dough.gmane.org>
On 2012-03-13, Grant Edwards <grant.b.edwards@gmail.com> wrote:
>
>
>
> I'm using a legacy flash driver that doesn't need somebody else to
> fiddle the caches. How do I "unimplement"
> CYGHWR_IO_FLASH_DEVICE_NEEDS_CACHE_HANDLED which is "implemented" by
> CYGHWR_IO_FLASH_DEVICE_LEGACY?
>
> I don't understand why the interface/implement scheme is being used
> this way. If a flash driver requires cache handling shouldn't it
> "require" something rather than "implement" something?
I've commented out the "implements CYGHWR_IO_FLASH_DEVICE_NEEDS_CACHE_HANDLED"
line in io/flash/current/cdl/io_flash.cdl to fix this problem, but
that doesn't seem like the right way to handle it. How is my flash
driver supposed to inform the configuration system that it doesn't
need the the io/flash layer to do chache handling?
--
Grant Edwards grant.b.edwards Yow! I'm ZIPPY the PINHEAD
at and I'm totally committed
gmail.com to the festive mode.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss