Commit 3f554003 authored by Richard Weinberger's avatar Richard Weinberger
Browse files

Merge tag 'spi-nor/for-5.8' of...

Merge tag 'spi-nor/for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux into mtd/next

SPI NOR core changes:
- add, update support and fix few flashes
- prepare BFPT parsing for JESD216 rev D
- kernel doc fixes
parents a8dfb61d e8aec15d
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
# SPDX-License-Identifier: GPL-2.0-only
menuconfig MTD_SPI_NOR
menuconfig MTD_SPI_NOR
	tristate "SPI-NOR device support"
	tristate "SPI NOR device support"
	depends on MTD
	depends on MTD
	depends on MTD && SPI_MASTER
	depends on MTD && SPI_MASTER
	select SPI_MEM
	select SPI_MEM
	help
	help
	  This is the framework for the SPI NOR which can be used by the SPI
	  This is the framework for the SPI NOR which can be used by the SPI
	  device drivers and the SPI-NOR device driver.
	  device drivers and the SPI NOR device driver.


if MTD_SPI_NOR
if MTD_SPI_NOR


+2 −2
Original line number Original line Diff line number Diff line
@@ -21,11 +21,11 @@ config SPI_CADENCE_QUADSPI
	  Flash as an MTD device.
	  Flash as an MTD device.


config SPI_HISI_SFC
config SPI_HISI_SFC
	tristate "Hisilicon FMC SPI-NOR Flash Controller(SFC)"
	tristate "Hisilicon FMC SPI NOR Flash Controller(SFC)"
	depends on ARCH_HISI || COMPILE_TEST
	depends on ARCH_HISI || COMPILE_TEST
	depends on HAS_IOMEM
	depends on HAS_IOMEM
	help
	help
	  This enables support for HiSilicon FMC SPI-NOR flash controller.
	  This enables support for HiSilicon FMC SPI NOR flash controller.


config SPI_NXP_SPIFI
config SPI_NXP_SPIFI
	tristate "NXP SPI Flash Interface (SPIFI)"
	tristate "NXP SPI Flash Interface (SPIFI)"
+1 −1
Original line number Original line Diff line number Diff line
@@ -727,7 +727,7 @@ static int aspeed_smc_chip_setup_finish(struct aspeed_smc_chip *chip)


	/*
	/*
	 * TODO: Adjust clocks if fast read is supported and interpret
	 * TODO: Adjust clocks if fast read is supported and interpret
	 * SPI-NOR flags to adjust controller settings.
	 * SPI NOR flags to adjust controller settings.
	 */
	 */
	if (chip->nor.read_proto == SNOR_PROTO_1_1_1) {
	if (chip->nor.read_proto == SNOR_PROTO_1_1_1) {
		if (chip->nor.read_dummy == 0)
		if (chip->nor.read_dummy == 0)
+1 −1
Original line number Original line Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-or-later
// SPDX-License-Identifier: GPL-2.0-or-later
/*
/*
 * HiSilicon FMC SPI-NOR flash controller driver
 * HiSilicon FMC SPI NOR flash controller driver
 *
 *
 * Copyright (c) 2015-2016 HiSilicon Technologies Co., Ltd.
 * Copyright (c) 2015-2016 HiSilicon Technologies Co., Ltd.
 */
 */
+1 −1
Original line number Original line Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
// SPDX-License-Identifier: GPL-2.0-only
/*
/*
 * SPI-NOR driver for NXP SPI Flash Interface (SPIFI)
 * SPI NOR driver for NXP SPI Flash Interface (SPIFI)
 *
 *
 * Copyright (C) 2015 Joachim Eastwood <manabian@gmail.com>
 * Copyright (C) 2015 Joachim Eastwood <manabian@gmail.com>
 *
 *
Loading