software/libbase/spisdcard: fix width of address parameter
authorGabriel Somlo <gsomlo@gmail.com>
Fri, 27 Mar 2020 11:07:30 +0000 (07:07 -0400)
committerGabriel Somlo <gsomlo@gmail.com>
Fri, 27 Mar 2020 19:24:09 +0000 (15:24 -0400)
commit540218b2d8cc5fcbb4c950aa3c659b21d471ac4f
tree46e96574653c5bcf4c4b865bf21741114cabe7ef
parent2e48ab568bbc58ea459d21b70a395e1238aadf4b
software/libbase/spisdcard: fix width of address parameter

Host address parameter types should match CPU word width, so
use `unsigned long` to be correct on both 32 and 64 bit CPUs.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
litex/soc/software/include/base/spisdcard.h
litex/soc/software/libbase/spisdcard.c