[U-Boot] [PATCH] driver/mtd: Add MICRON manufacturer id in spi framework

Jagan Teki jagan at amarulasolutions.com
Wed Oct 10 06:20:39 UTC 2018


On Tue, Sep 25, 2018 at 2:13 PM Ashish Kumar <Ashish.Kumar at nxp.com> wrote:
>
> Signed-off-by: Suresh Gupta <suresh.gupta at nxp.com>
> Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur at nxp.com>
> Signed-off-by: Ashish Kumar <Ashish.Kumar at nxp.com>
> ---
>  drivers/mtd/spi/sf_internal.h | 1 +
>  drivers/mtd/spi/spi_flash.c   | 2 ++
>  2 files changed, 3 insertions(+)
>
> diff --git a/drivers/mtd/spi/sf_internal.h b/drivers/mtd/spi/sf_internal.h
> index 4f63cacc64..26f5c7c995 100644
> --- a/drivers/mtd/spi/sf_internal.h
> +++ b/drivers/mtd/spi/sf_internal.h
> @@ -32,6 +32,7 @@ enum spi_nor_option_flags {
>  /* CFI Manufacture ID's */
>  #define SPI_FLASH_CFI_MFR_SPANSION     0x01
>  #define SPI_FLASH_CFI_MFR_STMICRO      0x20
> +#define SPI_FLASH_CFI_MFR_MICRON       0x2C

Why we need this? is it to support old micron chips?


More information about the U-Boot mailing list