video_common: edid: XVidC_EditGetVpiSn->XVidC_EdidGetIdSn.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
parent
89b50eecf8
commit
ec845b6dc6
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ static void Edid_Print_BaseVPId(u8 *EdidRaw)
|
|||
xil_printf("\tID product code:\t0x%04lx\n",
|
||||
XVidC_EdidGetIdProdCode(EdidRaw));
|
||||
xil_printf("\tID serial number:\t0x%08lx\n",
|
||||
XVidC_EditGetVpiSn(EdidRaw));
|
||||
XVidC_EdidGetIdSn(EdidRaw));
|
||||
if (XVidC_EdidIsVpiYearModel(EdidRaw)) {
|
||||
xil_printf("\tModel year:\t\t%d\n",
|
||||
XVidC_EdidGetVpiYear(EdidRaw));
|
||||
|
|
|
@ -273,7 +273,7 @@
|
|||
E[XVIDC_EDID_VPI_ID_PROD_CODE_LSB]))
|
||||
|
||||
/* Vendor and product identification: ID serial number. */
|
||||
#define XVidC_EditGetVpiSn(E) \
|
||||
#define XVidC_EdidGetIdSn(E) \
|
||||
((u32)((E[XVIDC_EDID_VPI_ID_SN3] << 24) | \
|
||||
(E[XVIDC_EDID_VPI_ID_SN2] << 16) | (E[XVIDC_EDID_VPI_ID_SN1] << 8) | \
|
||||
E[XVIDC_EDID_VPI_ID_SN0]))
|
||||
|
|
Loading…
Add table
Reference in a new issue