X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fmmc%2Frpmb.c;h=0b6b6222bdce9ae7c44a4510d01dfa18de40c22c;hb=3862b854740d296356a5cfd3146b270ad3501d97;hp=05936f5d1f344e7928c19ba116581cdae172b7aa;hpb=91fdabc67aebc2468ad362c02449f215e0971c68;p=oweals%2Fu-boot.git diff --git a/drivers/mmc/rpmb.c b/drivers/mmc/rpmb.c index 05936f5d1f..0b6b6222bd 100644 --- a/drivers/mmc/rpmb.c +++ b/drivers/mmc/rpmb.c @@ -10,8 +10,9 @@ #include #include +#include #include -#include +#include #include "mmc_private.h" /* Request codes */ @@ -66,7 +67,7 @@ struct s_rpmb { unsigned char mac[RPMB_SZ_MAC]; unsigned char data[RPMB_SZ_DATA]; unsigned char nonce[RPMB_SZ_NONCE]; - unsigned long write_counter; + unsigned int write_counter; unsigned short address; unsigned short block_count; unsigned short result;