summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi-nor/Makefile
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2021-05-03 17:56:51 +0200
committerVignesh Raghavendra <vigneshr@ti.com>2021-06-15 23:18:32 +0530
commit36ac0228626585ba718186b9db2e5986a198152c (patch)
treedb75c7d3852653575d4b1fbdc97400bb703c407e /drivers/mtd/spi-nor/Makefile
parent65b6d89d45a77256b743f421d109d469baefa688 (diff)
mtd: spi-nor: add initial sysfs support
Add support to show the manufacturer, the partname and JEDEC identifier as well as to dump the SFDP table. Not all flashes list their SFDP table contents in their datasheet. So having that is useful. It might also be helpful in bug reports from users. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Acked-by: Pratyush Yadav <p.yadav@ti.com>
Diffstat (limited to 'drivers/mtd/spi-nor/Makefile')
-rw-r--r--drivers/mtd/spi-nor/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi-nor/Makefile b/drivers/mtd/spi-nor/Makefile
index 136f245c91dc..6b904e439372 100644
--- a/drivers/mtd/spi-nor/Makefile
+++ b/drivers/mtd/spi-nor/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-spi-nor-objs := core.o sfdp.o swp.o otp.o
+spi-nor-objs := core.o sfdp.o swp.o otp.o sysfs.o
spi-nor-objs += atmel.o
spi-nor-objs += catalyst.o
spi-nor-objs += eon.o