[PATCH v4 1/4] mtd: spi-nor: macronix: add support for Macronix Octal
Jagan Teki
jagan at amarulasolutions.com
Mon Oct 25 08:56:38 CEST 2021
On Mon, Oct 18, 2021 at 11:54 AM JaimeLiao <jaimeliao.tw at gmail.com> wrote:
>
> Follow patch "f6adec1af4b2f5d3012480c6cdce7743b74a6156" for adding
> Macronix flash in Octal DTR mode.
>
> Enable Octal DTR mode with 20 dummy cycles to allow running at the
> maximum supported frequency.
> -https://www.mxic.com.tw/Lists/Datasheet/Attachments/7841/MX25LM51245G,%203V,%20512Mb,%20v1.1.pdf
>
> Signed-off-by: JaimeLiao <jaimeliao.tw at gmail.com>
> ---
> drivers/mtd/spi/Kconfig | 7 +++
> drivers/mtd/spi/spi-nor-core.c | 83 ++++++++++++++++++++++++++++++++++
> include/linux/mtd/spi-nor.h | 13 +++++-
> 3 files changed, 101 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig
> index 1b2ef37e92..67599b32c9 100644
> --- a/drivers/mtd/spi/Kconfig
> +++ b/drivers/mtd/spi/Kconfig
> @@ -162,6 +162,13 @@ config SPI_FLASH_MACRONIX
> help
> Add support for various Macronix SPI flash chips (MX25Lxxx)
>
> +config SPI_FLASH_MACRONIX_OCTAL
What if we use exiting SPI_FLASH_MACRONIX for it? does it increasing
size much? if not go for exiting macro.
More information about the U-Boot
mailing list