Changeset 796 for trunk/softs
- Timestamp:
- Sep 9, 2014, 3:05:49 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/src/reset_ioc.c
r758 r796 7 7 * 8 8 * \note These functions call the specific disk controller driver depending 9 * on the USE_IOC_BDV, USE_IOC_SPI or USE_ RAMDISK constants9 * on the USE_IOC_BDV, USE_IOC_SPI or USE_IOC_RDK constants 10 10 */ 11 11 … … 13 13 #include <defs.h> 14 14 15 #if !defined(USE_IOC_BDV) && !defined(USE_IOC_SPI) && !defined(USE_ RAMDISK)15 #if !defined(USE_IOC_BDV) && !defined(USE_IOC_SPI) && !defined(USE_IOC_RDK) 16 16 # error "One of the USE_IOC_* constants must be defined in the hard_config.h" 17 17 #endif 18 18 19 #if (USE_IOC_BDV + USE_IOC_SPI + USE_ RAMDISK) != 119 #if (USE_IOC_BDV + USE_IOC_SPI + USE_IOC_RDK) != 1 20 20 # error "Only one disk controller must be used" 21 21 #endif … … 29 29 #endif 30 30 31 #if USE_ RAMDISK31 #if USE_IOC_RDK 32 32 #include <reset_rdk.h> 33 33 #endif … … 42 42 #elif USE_IOC_SPI 43 43 return reset_sdc_init(); 44 #elif USE_ RAMDISK44 #elif USE_IOC_RDK 45 45 return reset_rdk_init(); 46 46 #else … … 65 65 #elif USE_IOC_SPI 66 66 return reset_sdc_read(lba, buffer, count); 67 #elif USE_ RAMDISK67 #elif USE_IOC_RDK 68 68 return reset_rdk_read(lba, buffer, count); 69 69 #else
Note: See TracChangeset
for help on using the changeset viewer.