Skip to content

Commit 1ac71ec

Browse files
committed
mtd: spi-nor: Fix SPI NOR acronym
The correct terminology is serial NOR flash or SPI NOR. s/SPI-NOR/SPI NOR and s/spi-nor/SPI NOR across the subsystem. Signed-off-by: Tudor Ambarus <[email protected]> Reviewed-by: Sergei Shtylyov <[email protected]>
1 parent 075fd6d commit 1ac71ec

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

drivers/mtd/spi-nor/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
menuconfig MTD_SPI_NOR
3-
tristate "SPI-NOR device support"
3+
tristate "SPI NOR device support"
44
depends on MTD
55
depends on MTD && SPI_MASTER
66
select SPI_MEM
77
help
88
This is the framework for the SPI NOR which can be used by the SPI
9-
device drivers and the SPI-NOR device driver.
9+
device drivers and the SPI NOR device driver.
1010

1111
if MTD_SPI_NOR
1212

drivers/mtd/spi-nor/controllers/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ config SPI_CADENCE_QUADSPI
2121
Flash as an MTD device.
2222

2323
config SPI_HISI_SFC
24-
tristate "Hisilicon FMC SPI-NOR Flash Controller(SFC)"
24+
tristate "Hisilicon FMC SPI NOR Flash Controller(SFC)"
2525
depends on ARCH_HISI || COMPILE_TEST
2626
depends on HAS_IOMEM
2727
help
28-
This enables support for HiSilicon FMC SPI-NOR flash controller.
28+
This enables support for HiSilicon FMC SPI NOR flash controller.
2929

3030
config SPI_NXP_SPIFI
3131
tristate "NXP SPI Flash Interface (SPIFI)"

drivers/mtd/spi-nor/controllers/aspeed-smc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ static int aspeed_smc_chip_setup_finish(struct aspeed_smc_chip *chip)
727727

728728
/*
729729
* TODO: Adjust clocks if fast read is supported and interpret
730-
* SPI-NOR flags to adjust controller settings.
730+
* SPI NOR flags to adjust controller settings.
731731
*/
732732
if (chip->nor.read_proto == SNOR_PROTO_1_1_1) {
733733
if (chip->nor.read_dummy == 0)

drivers/mtd/spi-nor/controllers/hisi-sfc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
22
/*
3-
* HiSilicon FMC SPI-NOR flash controller driver
3+
* HiSilicon FMC SPI NOR flash controller driver
44
*
55
* Copyright (c) 2015-2016 HiSilicon Technologies Co., Ltd.
66
*/

drivers/mtd/spi-nor/controllers/nxp-spifi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0-only
22
/*
3-
* SPI-NOR driver for NXP SPI Flash Interface (SPIFI)
3+
* SPI NOR driver for NXP SPI Flash Interface (SPIFI)
44
*
55
* Copyright (C) 2015 Joachim Eastwood <[email protected]>
66
*

drivers/mtd/spi-nor/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2469,7 +2469,7 @@ static int spi_nor_select_read(struct spi_nor *nor,
24692469
nor->read_proto = read->proto;
24702470

24712471
/*
2472-
* In the spi-nor framework, we don't need to make the difference
2472+
* In the SPI NOR framework, we don't need to make the difference
24732473
* between mode clock cycles and wait state clock cycles.
24742474
* Indeed, the value of the mode clock cycles is used by a QSPI
24752475
* flash memory to know whether it should enter or leave its 0-4-4
@@ -3126,7 +3126,7 @@ int spi_nor_scan(struct spi_nor *nor, const char *name,
31263126
/*
31273127
* Make sure the XSR_RDY flag is set before calling
31283128
* spi_nor_wait_till_ready(). Xilinx S3AN share MFR
3129-
* with Atmel spi-nor
3129+
* with Atmel SPI NOR.
31303130
*/
31313131
if (info->flags & SPI_NOR_XSR_RDY)
31323132
nor->flags |= SNOR_F_READY_XSR_RDY;

include/linux/mtd/spi-nor.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ struct spi_nor;
302302
* @read: read data from the SPI NOR.
303303
* @write: write data to the SPI NOR.
304304
* @erase: erase a sector of the SPI NOR at the offset @offs; if
305-
* not provided by the driver, spi-nor will send the erase
305+
* not provided by the driver, SPI NOR will send the erase
306306
* opcode via write_reg().
307307
*/
308308
struct spi_nor_controller_ops {
@@ -336,20 +336,20 @@ struct spi_nor_flash_parameter;
336336
* layer is not DMA-able
337337
* @bouncebuf_size: size of the bounce buffer
338338
* @info: SPI NOR part JEDEC MFR ID and other info
339-
* @manufacturer: spi-nor manufacturer
339+
* @manufacturer: SPI NOR manufacturer
340340
* @page_size: the page size of the SPI NOR
341341
* @addr_width: number of address bytes
342342
* @erase_opcode: the opcode for erasing a sector
343343
* @read_opcode: the read opcode
344344
* @read_dummy: the dummy needed by the read operation
345345
* @program_opcode: the program opcode
346346
* @sst_write_second: used by the SST write operation
347-
* @flags: flag options for the current SPI-NOR (SNOR_F_*)
347+
* @flags: flag options for the current SPI NOR (SNOR_F_*)
348348
* @read_proto: the SPI protocol for read operations
349349
* @write_proto: the SPI protocol for write operations
350350
* @reg_proto: the SPI protocol for read_reg/write_reg/erase operations
351351
* @controller_ops: SPI NOR controller driver specific operations.
352-
* @params: [FLASH-SPECIFIC] SPI-NOR flash parameters and settings.
352+
* @params: [FLASH-SPECIFIC] SPI NOR flash parameters and settings.
353353
* The structure includes legacy flash parameters and
354354
* settings that can be overwritten by the spi_nor_fixups
355355
* hooks, or dynamically when parsing the SFDP tables.

0 commit comments

Comments
 (0)