sdram: Use unsigned long for memory test
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Jun 2020 22:08:42 +0000 (08:08 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Jun 2020 22:08:42 +0000 (08:08 +1000)
commit6239eac1301f81ab4981002d7a2209cfb9c2dd4b
tree3f0d58774549b8661ac3691a8bf89d9855099d78
parent5cc7a98845311a91d20f757c96a7a7931a7a1220
sdram: Use unsigned long for memory test

This makes it twice as fast on 64-bit CPUs when using a 64-bit bus :-)

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
litex/soc/software/liblitedram/sdram.c