From: rob-ng15 <58272847+rob-ng15@users.noreply.github.com> Date: Fri, 20 Mar 2020 11:34:24 +0000 (+0000) Subject: Use for structure sizes X-Git-Tag: 24jan2021_ls180~544^2^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2ebbcbf6c51c81eb03be743e643fcee5c18ed46;p=litex.git Use for structure sizes --- diff --git a/litex/soc/software/include/base/spisdcard.h b/litex/soc/software/include/base/spisdcard.h index db6ade28..83689d5e 100644 --- a/litex/soc/software/include/base/spisdcard.h +++ b/litex/soc/software/include/base/spisdcard.h @@ -1,6 +1,6 @@ int spi_sdcard_init(uint32_t device); -int spi_sdcard_read_sector(uint32_t device, unsigned long lba,unsigned char *buf); +int spi_sdcard_read_sector(uint32_t device, uint32_t lba,uint_least8_t *buf); -unsigned char spi_sdcard_goidle(void); -unsigned char spi_sdcard_readMBR(void); -unsigned char spi_sdcard_readFile(char *, char *, unsigned long); +uint8_t spi_sdcard_goidle(void); +uint8_t spi_sdcard_readMBR(void); +uint8_t spi_sdcard_readFile(char *, char *, uint32_t);