diff packages/io/flash/current/cdl/io_flash.cdl @ 1747:a221170fac3d

Add an optimization for the common case of a single flash device
author bartv
date Sun, 21 Nov 2004 23:39:01 +0000
parents 49e24a462730
children 8667859d61ab
line wrap: on
line diff
--- a/packages/io/flash/current/cdl/io_flash.cdl
+++ b/packages/io/flash/current/cdl/io_flash.cdl
@@ -66,9 +66,11 @@ cdl_package CYGPKG_IO_FLASH {
  
     cdl_interface CYGHWR_IO_FLASH_DEVICE {
         display     "Hardware FLASH device drivers"
+	requires    { CYGHWR_IO_FLASH_DEVICE >= 1 }
         description "
             This calculated option gives the number of flash devices
-            on the current platform."
+            on the current platform. The generic flash support requires
+            at least one device."
     }
 
     cdl_interface CYGHWR_IO_FLASH_BLOCK_LOCKING {