summaryrefslogtreecommitdiff
path: root/board/emk/top9000/spi.c
diff options
context:
space:
mode:
authorPeter Korsgaard <peter.korsgaard@barco.com>2013-03-21 04:55:17 +0000
committerTom Rini <trini@ti.com>2013-05-01 16:24:00 -0400
commit2e222105c5e5592aefdb2ac889cf4934d222eb14 (patch)
treeaecb3ddd4e58cedbd129ea70660b40ca179a01dd /board/emk/top9000/spi.c
parent971020c755e5633c9a8f532356ee1750b38dd86f (diff)
downloadu-boot-imx-2e222105c5e5592aefdb2ac889cf4934d222eb14.zip
u-boot-imx-2e222105c5e5592aefdb2ac889cf4934d222eb14.tar.gz
u-boot-imx-2e222105c5e5592aefdb2ac889cf4934d222eb14.tar.bz2
spl_mmc: cleanup variable types
block_read returns unsigned long, so it doesn't make sense to check for < 0. and neither does marking the header structure as const and then casting away the constness to load data into it. Also cleanup some unneeded pointer casting while we're at it. Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/emk/top9000/spi.c')
0 files changed, 0 insertions, 0 deletions