xilskey: Fixed Secure bit programming bug
Modified if condition at programming the secure row of ultrascale's efuse. Signed-off-by: VNSL Durga <vnsldurg@xilinx.com> Acked-by: Harini Katakam <harinik@xilinx.com>
This commit is contained in:
parent
cf3ea2ed03
commit
c837085d9e
1 changed files with 2 additions and 2 deletions
|
@ -1842,8 +1842,8 @@ static inline u8 XilSKey_EfusePl_ProgramBit_Ultra(u8 Row, u8 Bit, u8 Redundant,
|
||||||
/**
|
/**
|
||||||
* If row = 10 then bits should be supported from 0 to 5
|
* If row = 10 then bits should be supported from 0 to 5
|
||||||
*/
|
*/
|
||||||
if ((Row == XSK_EFUSEPL_SEC_ROW_ULTRA) &&\
|
if ((Row == XSK_EFUSEPL_SEC_ROW_ULTRA) &&
|
||||||
(Row > XSK_EFUSEPL_SEC_ROW_END_BIT_ULTRA) ) {
|
(Bit > XSK_EFUSEPL_SEC_ROW_END_BIT_ULTRA) ) {
|
||||||
ErrorCode = XSK_EFUSEPL_ERROR_WRITE_BIT_OUT_OF_RANGE;
|
ErrorCode = XSK_EFUSEPL_ERROR_WRITE_BIT_OUT_OF_RANGE;
|
||||||
return XST_FAILURE;
|
return XST_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue