embeddedsw/XilinxProcessorIPLib/drivers
Shakti Bhatnagar 3580a10ae2 nandpsu_v1_0: Fixed triggering of assert call when block reaches max block.
Since the check for the block to have reached the end block was at the end of the loop,
thus assert call triggering could happen if the block crosses the max block limit,
making the driver to hang. Thus to fix the triggering of assert call,
the check for the block to have reached the max block is being done at the start of
the loop in XNandPsu_CalculateLength function.
The u32 typecasting for the variable OffsetVar has been removed and the data type for
the variable TempLen has been changed to u64 as for higher block numbers the value for
these variables will require u64 datatype otherwise corrupted value will get stored
which will lead to wrong calculation of block.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-04-20 12:45:24 +05:30
..
axicdma axicdma : modified xdefine procs to use hsi namespace. 2015-02-04 15:57:40 +05:30
axidma axidma : added hsi namespace to xdefine procs. 2015-02-04 15:57:40 +05:30
axipcie axipcie : added hsi namespace to xdefine procs. 2015-02-04 15:57:41 +05:30
axivdma axivdma : added hsi namespace to xdefine procs. 2015-02-04 15:57:41 +05:30
bram bram : added common namespace to all common tcl commands. 2015-01-22 11:37:14 +05:30
can can : added hsi namespace to xdefine procs. 2015-02-04 15:57:41 +05:30
canps canps_v3_0 : Modifies .mdd for pss to psu change. 2015-02-17 23:58:42 +05:30
ccm ccm : added hsi namespace to xdefine procs. 2015-02-04 15:57:42 +05:30
cfa cfa : added hsi namespace to xdefine procs. 2015-02-04 15:57:42 +05:30
common all: make source code non-executable 2014-12-17 15:13:03 +05:30
cpu cpu_v2_3 : Added psu_microblaze in .mdd 2015-02-18 19:04:05 +05:30
cpu_cortexa9 cpu_cortexa9 : added hsi namespace to xdefine procs. 2015-02-04 15:57:43 +05:30
cpu_cortexa53 drivers: cpu_cortexa53: change to psu from pss for processor instance 2015-02-23 16:33:59 +05:30
cresample cresample : added hsi namespace to xdefine procs. 2015-02-04 15:57:43 +05:30
csudma csudma: Modified interrupt ids 2015-03-15 18:47:08 +05:30
deinterlacer deinterlacer : added hsi namespace to xdefine procs. 2015-02-04 15:57:44 +05:30
devcfg devcfg_v3_3: Corrected XDcfg_ReadMultiBootConfig macro. 2015-04-18 22:22:38 +05:30
dmaps dmaps : added hsi namespace to xdefine procs. 2015-02-04 15:57:44 +05:30
dptx dptx: Handle new PHY_CONFIG bit for 8b10b encoding. 2015-02-25 17:39:50 +05:30
emacps emacps: Add missing cache flush 2015-03-19 10:41:55 +05:30
emc emc : added common namespace to all common tcl commands. 2015-01-22 11:37:17 +05:30
enhance enhance : added hsi namespace to xdefine procs. 2015-02-04 15:57:46 +05:30
gamma gamma : added hsi namespace to xdefine procs. 2015-02-04 15:57:46 +05:30
generic/data generic : Modified namespace from HSM to HSI. 2014-12-23 16:09:17 +05:30
gpio gpio : added hsi namespace to xdefine procs. 2015-02-04 15:57:48 +05:30
hwicap hwicap : added common namespace to all common tcl commands. 2015-01-22 11:37:17 +05:30
iic iic : added hsi namespace to xdefine procs. 2015-02-04 15:57:48 +05:30
iicps iicps_v3_0: Modified the IICPS eeprom examples. 2015-03-23 17:35:12 +05:30
iomodule iomodule : added hsi namespace to xdefine procs. 2015-02-04 15:57:49 +05:30
ipipsu ipipsu_v1_0: Add IPI driver for ZynqMP 2015-03-16 23:01:43 +05:30
mbox mbox : added common namespace for all common tcl commands. 2015-01-22 11:37:19 +05:30
mig_7series mig_7series : added common namespace for all common tcl commands. 2015-01-22 11:37:19 +05:30
mutex mutex : added common namespace for all common tcl commands. 2015-01-22 11:37:20 +05:30
nandps nandps_v2_2: Removed IAR compilation errors. 2015-02-27 15:05:44 +05:30
nandpsu nandpsu_v1_0: Fixed triggering of assert call when block reaches max block. 2015-04-20 12:45:24 +05:30
osd osd : added hsi namespace to xdefine procs. 2015-02-04 15:57:51 +05:30
qspips qspips_v3_2: SLCR_LOCKSTA register checked. 2015-02-18 16:58:02 +05:30
qspipsu qspi: Fix dummy mode in examples 2015-03-25 12:56:43 +05:30
rgb2ycrcb rgb2ycrcb : added hsi namespace to xdefine procs. 2015-02-04 15:57:52 +05:30
scaler scaler : added hsi namespace to xdefine procs. 2015-02-04 15:57:52 +05:30
scutimer scutimer_v2_1: Updated the modification history and copyright. 2015-02-27 18:25:28 +05:30
scuwdt scuwdt_v2_1: Updated the modification history and copyright. 2015-02-27 18:25:28 +05:30
spi spi : added common namespace to all common tcl commands. 2015-01-22 11:52:47 +05:30
spips spips_v3_0 : Modified .mdd file for pss to psu change. 2015-02-17 23:58:42 +05:30
srio srio : added hsi namespace to xdefine procs. 2015-02-04 15:57:54 +05:30
tft tft : added hsi namespace to xdefine procs. 2015-02-04 15:57:55 +05:30
tmrctr tmrctr : added hsi namespace to xdefine procs. 2015-02-04 15:57:55 +05:30
tpg tpg : added hsi namespace to xdefine procs. 2015-02-04 15:57:56 +05:30
trafgen trafgen : added common namespace to all common tcl commands. 2015-01-22 11:52:48 +05:30
ttcps driver: ttc: change in low level example 2015-03-31 15:25:45 +05:30
uartlite uartlite : added hsi namespace to xdefine procs. 2015-02-04 15:57:56 +05:30
usb usb : added hsi namespace to xdefine procs. 2015-02-04 15:57:57 +05:30
usbps usbps_v2_2: Removed IAR compilation errors. 2015-02-27 16:12:03 +05:30
vtc vtc: Modified vtc_v7_0 source files. 2015-02-27 19:06:52 +05:30
wdtps wdtps_v3_0 : Modifies .mdd for pss to psu change. 2015-02-17 23:58:42 +05:30
wdttb wdttb : added hsi namespace to xdefine procs. 2015-02-04 15:57:58 +05:30
ycrcb2rgb ycrcb2rgb : added hsi namespace to xdefine procs. 2015-02-04 15:57:58 +05:30
zdma ZDMA: Modified example of ZDMA 2015-03-31 12:23:01 +05:30