ad469x_fmc: Minor cosmetic update on the config file
parent
0644edb389
commit
ad4adddbe5
|
@ -4,14 +4,8 @@ set mode 0
|
||||||
|
|
||||||
set hier_spi_engine spi_ad469x
|
set hier_spi_engine spi_ad469x
|
||||||
|
|
||||||
if [info exists ::env(ADI_DAC_MODE)] {
|
# Mode DATA_WIDTH ASYNC_SPI_CLK NUM_CSN NUM_SDI SDI_DELAY
|
||||||
set mode $::env(ADI_DAC_MODE)
|
set params(AD469X,0) {32 1 1 1 1}
|
||||||
} else {
|
|
||||||
set env(ADI_DAC_MODE) $mode
|
|
||||||
}
|
|
||||||
|
|
||||||
# W A NC NS D
|
|
||||||
set params(AD469X,0) {32 1 1 1 1}
|
|
||||||
|
|
||||||
proc get_config_param {param} {
|
proc get_config_param {param} {
|
||||||
upvar device device
|
upvar device device
|
||||||
|
@ -23,3 +17,4 @@ proc get_config_param {param} {
|
||||||
|
|
||||||
return [lindex $params($device,$mode) $index]
|
return [lindex $params($device,$mode) $index]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue