Mercurial > flash_v2
diff packages/io/flash/current/cdl/io_flash.cdl @ 1742:a668b95e5f2e
Only include the support for indirect flash reads if there are devices
which need it.
| author | bartv |
|---|---|
| date | Sat, 20 Nov 2004 23:31:59 +0000 |
| parents | 3845779eca10 |
| children | 49e24a462730 |
line wrap: on
line diff
--- a/packages/io/flash/current/cdl/io_flash.cdl +++ b/packages/io/flash/current/cdl/io_flash.cdl @@ -95,6 +95,17 @@ cdl_package CYGPKG_IO_FLASH { locking (write-protection) of individual blocks." } + cdl_interface CYGHWR_IO_FLASH_INDIRECT_READS { + display "Hardware requires indirect reads" + flavor booldata + description " + Some flash devices can be read directly like any other + memory. Others can only be accessed indirectly, which + involves extra code. If none of the flash devices on the + target hardware use indirect reads then the extra code + can be eliminated." + } + cdl_interface CYGHWR_IO_FLASH_DEVICE_LEGACY { display "Hardware driver uses the legacy interface" flavor booldata @@ -343,4 +354,4 @@ cdl_package CYGPKG_IO_FLASH { } } } -} \ No newline at end of file +}
