nandps8_v2_0: Rectified bbt signature/ version write offset
corrected the bbt signature/version write offset for NO_OOB in XNandPs8_WriteBbt API. Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
This commit is contained in:
parent
9572c366af
commit
734de3b828
1 changed files with 2 additions and 2 deletions
|
@ -794,9 +794,9 @@ static s32 XNandPs8_WriteBbt(XNandPs8 *InstancePtr, XNandPs8_BbtDesc *Desc,
|
|||
/*
|
||||
* Copy the signature and version to the Buffer
|
||||
*/
|
||||
memcpy(Buf , &Desc->Signature[0],
|
||||
memcpy(Buf + Desc->SigOffset, &Desc->Signature[0],
|
||||
Desc->SigLength);
|
||||
memcpy(Buf + Desc->SigLength, &Desc->Version[Target], 1U);
|
||||
memcpy(Buf + Desc->VerOffset, &Desc->Version[Target], 1U);
|
||||
/*
|
||||
* Write the Buffer to page offset
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue