From eb9df3f478c4f7ed9ccbbbeb927cd2ec28181606 Mon Sep 17 00:00:00 2001 From: Andrei-Liviu Simion Date: Fri, 9 Jan 2015 12:17:07 -0800 Subject: [PATCH] dp: XDptx_ConfigTable->XDp_ConfigTable. Signed-off-by: Andrei-Liviu Simion --- XilinxProcessorIPLib/drivers/dp/data/dp.tcl | 6 +++--- XilinxProcessorIPLib/drivers/dp/src/xdp_sinit.c | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/XilinxProcessorIPLib/drivers/dp/data/dp.tcl b/XilinxProcessorIPLib/drivers/dp/data/dp.tcl index 3a93308e..5156e4fa 100644 --- a/XilinxProcessorIPLib/drivers/dp/data/dp.tcl +++ b/XilinxProcessorIPLib/drivers/dp/data/dp.tcl @@ -30,9 +30,9 @@ ## ##*****************************************************************************/ proc generate {drv_handle} { - xdefine_include_file $drv_handle "xparameters.h" "XDptx" "NUM_INSTANCES" "DEVICE_ID" "C_BASEADDR" "C_LANE_COUNT" "C_LINK_RATE" "C_MAX_BITS_PER_COLOR" "C_QUAD_PIXEL_ENABLE" "C_DUAL_PIXEL_ENABLE" "C_YCRCB_ENABLE" "C_YONLY_ENABLE" "C_GT_DATAWIDTH" "C_SECONDARY_SUPPORT" "C_AUDIO_CHANNELS" "C_MST_ENABLE" "C_NUMBER_OF_MST_STREAMS" "C_PROTOCOL_SELECTION" "S_AXI_ACLK" - xdefine_config_file $drv_handle "xdptx_g.c" "XDptx" "DEVICE_ID" "C_BASEADDR" "S_AXI_ACLK" "C_LANE_COUNT" "C_LINK_RATE" "C_MAX_BITS_PER_COLOR" "C_QUAD_PIXEL_ENABLE" "C_DUAL_PIXEL_ENABLE" "C_YCRCB_ENABLE" "C_YONLY_ENABLE" "C_GT_DATAWIDTH" "C_SECONDARY_SUPPORT" "C_AUDIO_CHANNELS" "C_MST_ENABLE" "C_NUMBER_OF_MST_STREAMS" "C_PROTOCOL_SELECTION" - xdefine_canonical_xpars $drv_handle "xparameters.h" "XDptx" "NUM_INSTANCES" "DEVICE_ID" "C_BASEADDR" "C_LANE_COUNT" "C_LINK_RATE" "C_MAX_BITS_PER_COLOR" "C_QUAD_PIXEL_ENABLE" "C_DUAL_PIXEL_ENABLE" "C_YCRCB_ENABLE" "C_YONLY_ENABLE" "C_GT_DATAWIDTH" "C_SECONDARY_SUPPORT" "C_AUDIO_CHANNELS" "C_MST_ENABLE" "C_NUMBER_OF_MST_STREAMS" "C_PROTOCOL_SELECTION" "S_AXI_ACLK" + xdefine_include_file $drv_handle "xparameters.h" "XDp" "NUM_INSTANCES" "DEVICE_ID" "C_BASEADDR" "C_LANE_COUNT" "C_LINK_RATE" "C_MAX_BITS_PER_COLOR" "C_QUAD_PIXEL_ENABLE" "C_DUAL_PIXEL_ENABLE" "C_YCRCB_ENABLE" "C_YONLY_ENABLE" "C_GT_DATAWIDTH" "C_SECONDARY_SUPPORT" "C_AUDIO_CHANNELS" "C_MST_ENABLE" "C_NUMBER_OF_MST_STREAMS" "C_PROTOCOL_SELECTION" "S_AXI_ACLK" + xdefine_config_file $drv_handle "xdptx_g.c" "XDp" "DEVICE_ID" "C_BASEADDR" "S_AXI_ACLK" "C_LANE_COUNT" "C_LINK_RATE" "C_MAX_BITS_PER_COLOR" "C_QUAD_PIXEL_ENABLE" "C_DUAL_PIXEL_ENABLE" "C_YCRCB_ENABLE" "C_YONLY_ENABLE" "C_GT_DATAWIDTH" "C_SECONDARY_SUPPORT" "C_AUDIO_CHANNELS" "C_MST_ENABLE" "C_NUMBER_OF_MST_STREAMS" "C_PROTOCOL_SELECTION" + xdefine_canonical_xpars $drv_handle "xparameters.h" "XDp" "NUM_INSTANCES" "DEVICE_ID" "C_BASEADDR" "C_LANE_COUNT" "C_LINK_RATE" "C_MAX_BITS_PER_COLOR" "C_QUAD_PIXEL_ENABLE" "C_DUAL_PIXEL_ENABLE" "C_YCRCB_ENABLE" "C_YONLY_ENABLE" "C_GT_DATAWIDTH" "C_SECONDARY_SUPPORT" "C_AUDIO_CHANNELS" "C_MST_ENABLE" "C_NUMBER_OF_MST_STREAMS" "C_PROTOCOL_SELECTION" "S_AXI_ACLK" } # diff --git a/XilinxProcessorIPLib/drivers/dp/src/xdp_sinit.c b/XilinxProcessorIPLib/drivers/dp/src/xdp_sinit.c index 75bbd42e..2591c77c 100644 --- a/XilinxProcessorIPLib/drivers/dp/src/xdp_sinit.c +++ b/XilinxProcessorIPLib/drivers/dp/src/xdp_sinit.c @@ -34,7 +34,7 @@ * * @file xdp_sinit.c * - * This file contains static initialization methods for the XDptx driver. + * This file contains static initialization methods for the XDp driver. * * @note None. * @@ -59,14 +59,14 @@ * A table of configuration structures containing the configuration information * for each DisplayPort TX core in the system. */ -extern XDp_Config XDptx_ConfigTable[XPAR_XDPTX_NUM_INSTANCES]; +extern XDp_Config XDp_ConfigTable[XPAR_XDPTX_NUM_INSTANCES]; /**************************** Function Definitions ****************************/ /******************************************************************************/ /** * This function looks for the device configuration based on the unique device - * ID. The table XDptx_ConfigTable[] contains the configuration information for + * ID. The table XDp_ConfigTable[] contains the configuration information for * each device in the system. * * @param DeviceId is the unique device ID of the device being looked up. @@ -83,8 +83,8 @@ XDp_Config *XDp_LookupConfig(u16 DeviceId) u32 Index; for (Index = 0; Index < XPAR_XDPTX_NUM_INSTANCES; Index++) { - if (XDptx_ConfigTable[Index].DeviceId == DeviceId) { - CfgPtr = &XDptx_ConfigTable[Index]; + if (XDp_ConfigTable[Index].DeviceId == DeviceId) { + CfgPtr = &XDp_ConfigTable[Index]; break; } }