nandpsu_v1_0: Clear dmabuffer boundary register during the init.
Ensure that the dma buffer boundary interrupt is disabled as driver is using the contiguous buffer for the whole page size and enabling this interrupt would cause failures if the buffer boundary is configured for other values (not the page size) Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
This commit is contained in:
parent
66409812e8
commit
5ebc54dfa8
1 changed files with 4 additions and 0 deletions
|
@ -344,6 +344,10 @@ static s32 XNandPsu_FlashInit(XNandPsu *InstancePtr)
|
|||
XNandPsu_WriteReg((InstancePtr)->Config.BaseAddress,
|
||||
XNANDPSU_DATA_INTF_OFFSET, 0U);
|
||||
|
||||
/* Clear DMA Buffer Boundary Register */
|
||||
XNandPsu_WriteReg(InstancePtr->Config.BaseAddress,
|
||||
XNANDPSU_DMA_BUF_BND_OFFSET, 0U);
|
||||
|
||||
for (Target = 0U; Target < XNANDPSU_MAX_TARGETS; Target++) {
|
||||
/*
|
||||
* Reset the Target
|
||||
|
|
Loading…
Add table
Reference in a new issue