comparison packages/io/flash/current/cdl/io_flash.cdl @ 1770:be052fe43d4d

Trivial tweaks to preceding checkin.
author jlarmour
date Wed, 27 Sep 2006 14:52:23 +0000
parents 8667859d61ab
children
comparison
equal deleted inserted replaced
1769:8667859d61ab 1770:be052fe43d4d
96 96
97 cdl_interface CYGHWR_IO_FLASH_DEVICE_NEEDS_CACHE_HANDLED { 97 cdl_interface CYGHWR_IO_FLASH_DEVICE_NEEDS_CACHE_HANDLED {
98 display "Device driver needs cache handled centrally" 98 display "Device driver needs cache handled centrally"
99 flavor booldata 99 flavor booldata
100 description " 100 description "
101 Managing flash often requires interacting with the flash. 101 Managing flash often requires interacting with the cache.
102 Some device drivers do not require the generic flash code to 102 Some device drivers do not require the generic flash code to
103 manipulate the flash, either because they do it themselves or 103 manipulate the cache, either because they do it themselves or
104 because the hardware does the right thing. Other drivers 104 because the hardware does the right thing. Other drivers
105 require the generic code to disable/enable the flash before 105 require the generic code to disable/enable the cache before
106 calling into the driver." 106 calling into the driver."
107 } 107 }
108 108
109 cdl_interface CYGHWR_IO_FLASH_DEVICE_LEGACY { 109 cdl_interface CYGHWR_IO_FLASH_DEVICE_LEGACY {
110 display "Hardware driver uses the legacy interface" 110 display "Hardware driver uses the legacy interface"
114 The generic flash code can work with either a legacy device 114 The generic flash code can work with either a legacy device
115 driver or with V2 drivers. If a legacy driver is used on the 115 driver or with V2 drivers. If a legacy driver is used on the
116 current platform then this option will be implemented." 116 current platform then this option will be implemented."
117 requires { CYGHWR_IO_FLASH_DEVICE_LEGACY <= 1 } 117 requires { CYGHWR_IO_FLASH_DEVICE_LEGACY <= 1 }
118 118
119 # For now assume all legacy devices need the cache handled by 119 # For now assume all legacy devices need the cache handled by
120 # the central code 120 # the central code
121 implements CYGHWR_IO_FLASH_DEVICE_NEEDS_CACHE_HANDLED 121 implements CYGHWR_IO_FLASH_DEVICE_NEEDS_CACHE_HANDLED
122 } 122 }
123 123
124 cdl_option CYGSEM_IO_FLASH_READ_INDIRECT { 124 cdl_option CYGSEM_IO_FLASH_READ_INDIRECT {
125 display "Legacy device driver uses indirect reads." 125 display "Legacy device driver uses indirect reads."
126 active_if CYGHWR_IO_FLASH_DEVICE_LEGACY 126 active_if CYGHWR_IO_FLASH_DEVICE_LEGACY