diff options
author | Michael Walle <michael@walle.cc> | 2022-04-29 13:20:18 +0300 |
---|---|---|
committer | Pratyush Yadav <p.yadav@ti.com> | 2022-05-09 14:25:22 +0300 |
commit | 0257be79fc4a16a3252ce80aa13b3640f728c425 (patch) | |
tree | e2d47a77633bdc9fd64d26b1a6c4f5e7764f26d2 /drivers/mtd/spi-nor/Makefile | |
parent | d92e0dbc6a2686e20b558220376d5d1c6b0d9108 (diff) | |
download | linux-0257be79fc4a16a3252ce80aa13b3640f728c425.tar.xz |
mtd: spi-nor: expose internal parameters via debugfs
There is no way to gather all information to verify support for a new
flash chip. Also if you want to convert an existing flash chip to the
new SFDP parsing, there is not enough information to determine if the
flash will work like before. To ease this development, expose internal
parameters via the debugfs.
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20220429102018.2361038-2-michael@walle.cc
Diffstat (limited to 'drivers/mtd/spi-nor/Makefile')
-rw-r--r-- | drivers/mtd/spi-nor/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi-nor/Makefile b/drivers/mtd/spi-nor/Makefile index 6b904e439372..e347b435a038 100644 --- a/drivers/mtd/spi-nor/Makefile +++ b/drivers/mtd/spi-nor/Makefile @@ -17,6 +17,7 @@ spi-nor-objs += sst.o spi-nor-objs += winbond.o spi-nor-objs += xilinx.o spi-nor-objs += xmc.o +spi-nor-$(CONFIG_DEBUG_FS) += debugfs.o obj-$(CONFIG_MTD_SPI_NOR) += spi-nor.o obj-$(CONFIG_MTD_SPI_NOR) += controllers/ |