embeddedsw/XilinxProcessorIPLib/drivers/nandpsu
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
..
data nandpsu_v1_0: Modified supported_peripherals list in mdd file. 2015-02-18 13:07:53 +05:30
examples nandpsu_v1_0: Removed Makefile from example folder 2015-02-19 14:37:55 +05:30
src nandpsu_v1_0: Fixed triggering of assert call when block reaches max block. 2015-04-20 12:45:24 +05:30