This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
AT91 flash driver
- From: "Gábor Török" <tgabor84 at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Sun, 19 Oct 2008 15:00:24 +0200
- Subject: [ECOS] AT91 flash driver
Hi!
I don't understand some solutions in the AT91 flash driver.
Why is there autodetection of the flash size, when it can be
determined at compile time? I don't think, that the size of the
integrated flash varies over the same processor type. The linker
scripts also depends on flash size, so if it is not specified
correctly at compile time, other things can go wrong.
I think it would be more important to do clock autodetection, because
that is a thing that can change at runtime (but the clock would have
to be checked before every flash operation, and that is not always a
good thing).
Gábor
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss