can: Update the driver tcl to check for valid IP parameter

Few IP parameters exported in smaller cases to the hdf
but the dirver tcl is checking for the same parameters in
upper case resulting wrong values are being genearted
in xparameters.h file. This patch fixes this issue.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
This commit is contained in:
Kedareswara rao Appana 2015-10-20 11:45:54 +05:30 committed by Nava kishore Manne
parent 0707af60f4
commit 3171d55588
2 changed files with 5 additions and 3 deletions

View file

@ -32,8 +32,8 @@
#uses "xillib.tcl"
proc generate {drv_handle} {
::hsi::utils::define_include_file $drv_handle "xparameters.h" "XCan" "NUM_INSTANCES" "DEVICE_ID" "C_BASEADDR" "C_HIGHADDR" "C_CAN_RX_DPTH" "C_CAN_TX_DPTH" "C_CAN_NUM_ACF"
::hsi::utils::define_config_file $drv_handle "xcan_g.c" "XCan" "DEVICE_ID" "C_BASEADDR" "C_CAN_NUM_ACF"
::hsi::utils::define_include_file $drv_handle "xparameters.h" "XCan" "NUM_INSTANCES" "DEVICE_ID" "C_BASEADDR" "C_HIGHADDR" "c_can_rx_dpth" "c_can_tx_dpth" "c_can_num_acf"
::hsi::utils::define_config_file $drv_handle "xcan_g.c" "XCan" "DEVICE_ID" "C_BASEADDR" "c_can_num_acf"
::hsi::utils::define_canonical_xpars $drv_handle "xparameters.h" "Can" "DEVICE_ID" "C_BASEADDR" "C_HIGHADDR" "C_CAN_RX_DPTH" "C_CAN_TX_DPTH" "C_CAN_NUM_ACF"
::hsi::utils::define_canonical_xpars $drv_handle "xparameters.h" "Can" "DEVICE_ID" "C_BASEADDR" "C_HIGHADDR" "c_can_rx_dpth" "c_can_tx_dpth" "c_can_num_acf"
}

View file

@ -187,6 +187,8 @@ exclusion
* The macros have been renamed to remove _m from the name in
* all the driver files.
* 3.0 adk 19/12/13 Updated as per the New Tcl API's
* 3.1 adk 20/10/15 Update the driver tcl to check for valid IP parameters.
* CR#910450.
* </pre>
*
******************************************************************************/