[U-Boot] [PATCH 1/6] mmc: Fix typo in MMC type checking macro
Pantelis Antoniou
pantelis.antoniou at konsulko.com
Tue May 5 11:02:14 CEST 2015
Hi Andrew,
> On Mar 19, 2015, at 14:44 , Andrew Gabbasov <andrew_gabbasov at mentor.com> wrote:
>
> The version flag constant name used in IS_MMC macro is incorrect/undefined.
>
> Signed-off-by: Andrew Gabbasov <andrew_gabbasov at mentor.com>
> ---
> include/mmc.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/mmc.h b/include/mmc.h
> index 2ad0f19..a251531 100644
> --- a/include/mmc.h
> +++ b/include/mmc.h
> @@ -61,7 +61,7 @@
> #define SD_DATA_4BIT 0x00040000
>
> #define IS_SD(x) ((x)->version & SD_VERSION_SD)
> -#define IS_MMC(x) ((x)->version & SD_VERSION_MMC)
> +#define IS_MMC(x) ((x)->version & MMC_VERSION_MMC)
>
> #define MMC_DATA_READ 1
> #define MMC_DATA_WRITE 2
> --
> 2.1.0
>
Thanks, applied.
BTW, please make sure you CC me personally when sending patches since this slipped out of my attention.
Regards
— Pantelis
More information about the U-Boot
mailing list