diff options
author | Jagan Teki <jagan@openedev.com> | 2016-10-30 23:16:22 +0530 |
---|---|---|
committer | Jagan Teki <jagan@openedev.com> | 2016-11-18 13:04:54 +0530 |
commit | 6645fd2c183a09f8594b5e6b5da279e9ebd70c52 (patch) | |
tree | 081b215fe8a18a003660f3ba47cb4629e07d8992 | |
parent | 475bf816f1fbc7be5c5ba12cd456841a0f9508c9 (diff) | |
download | u-boot-6645fd2c183a09f8594b5e6b5da279e9ebd70c52.tar.gz |
sf: Rename sf_params.c to spi_flash_ids.c
Now the flash params table as renamed to spi_flash_ids structure,
so rename the sf_params.c to spi_flash_ids.c and remove the legacy.
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: York Sun <york.sun@nxp.com>
Cc: Vignesh R <vigneshr@ti.com>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
-rw-r--r-- | doc/device-tree-bindings/mtd/spi/spi-flash.txt | 2 | ||||
-rw-r--r-- | drivers/mtd/spi/Makefile | 2 | ||||
-rw-r--r-- | drivers/mtd/spi/spi_flash_ids.c (renamed from drivers/mtd/spi/sf_params.c) | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/doc/device-tree-bindings/mtd/spi/spi-flash.txt b/doc/device-tree-bindings/mtd/spi/spi-flash.txt index 85522d8011..332789026a 100644 --- a/doc/device-tree-bindings/mtd/spi/spi-flash.txt +++ b/doc/device-tree-bindings/mtd/spi/spi-flash.txt @@ -6,7 +6,7 @@ Required properties: - compatible : Should be the manufacturer and the name of the chip. Bear in mind that the DT binding is not U-Boot-only, but in case of U-Boot, see spi_flash_params_table table in - drivers/mtd/spi/sf_params.c for the list of supported chips. + drivers/mtd/spi/spi_flash_ids.c for the list of supported chips. - reg : Chip-Select number - spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at diff --git a/drivers/mtd/spi/Makefile b/drivers/mtd/spi/Makefile index f3dc409632..fcda023412 100644 --- a/drivers/mtd/spi/Makefile +++ b/drivers/mtd/spi/Makefile @@ -12,7 +12,7 @@ obj-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o obj-$(CONFIG_SPL_SPI_SUNXI) += sunxi_spi_spl.o endif -obj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o sf_params.o sf.o +obj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o spi_flash_ids.o sf.o obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o obj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/spi_flash_ids.c index 4613258cd3..8c92525d90 100644 --- a/drivers/mtd/spi/sf_params.c +++ b/drivers/mtd/spi/spi_flash_ids.c @@ -1,6 +1,7 @@ /* - * SPI flash Params table + * SPI Flash ID's. * + * Copyright (C) 2016 Jagan Teki <jagan@openedev.com> * Copyright (C) 2013 Jagannadha Sutradharudu Teki, Xilinx Inc. * * SPDX-License-Identifier: GPL-2.0+ |