[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZMbcX9u5rcwwUhZStjr_aoKcFSuEf0rK8YzEJ_rqq0TQ@mail.gmail.com>
Date: Mon, 13 Aug 2012 15:39:43 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: IAN CHEN <ian.cy.chen@...sung.com>
Cc: cjb@...top.org, linkinjeon@...il.com, adrian.hunter@...el.com,
subhashj@...eaurora.org, linux-mmc@...r.kernel.org,
linux-kernel@...r.kernel.org, d.j.shin@...sung.com,
jongtae22.kim@...sung.com, kyungmin.park@...sung.com,
jh80.chung@...sung.com
Subject: Re: [PATCH] mmc: card: Skip secure option for MoviNAND.
On Mon, Aug 13, 2012 at 11:50 AM, IAN CHEN <ian.cy.chen@...sung.com> wrote:
> For several MoviNAND, there are some known issue with secure option.
> For these specific MoviNAND device, we skip secure option.
OK..
> diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h
> index 111aca5..4505a30 100644
> --- a/include/linux/mmc/card.h
> +++ b/include/linux/mmc/card.h
> @@ -239,6 +239,7 @@ struct mmc_card {
> #define MMC_QUIRK_BLK_NO_CMD23 (1<<7) /* Avoid CMD23 for
> regular multiblock */
> #define MMC_QUIRK_BROKEN_BYTE_MODE_512 (1<<8) /* Avoid sending 512
> bytes in */
> #define MMC_QUIRK_LONG_READ_TIME (1<<9) /* Data read time > CSD
> says */
> +#define MMC_QUIRK_MOVINAND_SECURE (1<<10) /* MoviNAND secure issue */
> /* byte mode */
> unsigned int poweroff_notify_state; /* eMMC4.5 notify feature */
> #define MMC_NO_POWER_NOTIFICATION 0
So if there is a FOO memory with broken secure features I will have to add
MMC_QUIRK_FOO_SECURE etc?
No thanks, name the flag something netral that can be reused, like
MMC_QUIRK_SECURE_MODE_BROKEN, simply.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists