display "SPI driver for FSL MXC-based platforms"
compile -library=libextras.a mxc_spi.c
-
+
include_dir cyg/io
cdl_option CYGHWR_DEVS_FSL_SPI_VER_XX {
}
}
cdl_option CYGHWR_DEVS_FSL_SPI_VER_0_4 {
- display "SPI version 0.4 support for MX31, MXC91231"
+ display "SPI version 0.4 support for MX31"
default_value 0
description "
When this option is enabled, it indicates the SPI version
puts $::cdl_system_header "#define MXC_SPI_VER_0_7"
}
}
+ cdl_option CYGHWR_DEVS_FSL_SPI_VER_2_3 {
+ display "SPI version 2.3 support"
+ default_value 0
+ description "
+ When this option is enabled, it indicates the SPI version
+ is 2.3"
+ define_proc {
+ puts $::cdl_system_header "#define MXC_SPI_VER_2_3"
+ }
+ }
}