Correct the calculation of the block number to erase.
authorluc <luc>
Mon, 1 Aug 2005 20:48:41 +0000 (20:48 +0000)
committerluc <luc>
Mon, 1 Aug 2005 20:48:41 +0000 (20:48 +0000)
commit300a106a291d9d32a71a6dee90b659f46f1cc804
treeb7f6a0e0ffff959a95323b441a65830afe186114
parentdb670e4a90555c2809667b3a032e08ca26d23e8c
Correct the calculation of the block number to erase.

The use of ">> 5" to calculate the block number from the chunk number
was incorrect for the actual value of PAGES_PER_BLOCK (64).

At the same time, make this less error prone.
mtdemul/nandemul2k.c