summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHan Xu <han.xu@nxp.com>2026-07-29 14:22:20 -0500
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-08-07 15:59:37 +0200
commit113f62225e98febabba0fee00afd29d4eaf65abb (patch)
tree9bc5871c8fed91b0d5f96bfadc4a4ec51653024b /scripts
parente5e415262330bd70f983e091d8919d9dcd99e475 (diff)
downloadlinux-113f62225e98febabba0fee00afd29d4eaf65abb.tar.gz
linux-113f62225e98febabba0fee00afd29d4eaf65abb.zip
mtd: rawnand: gpmi: add debugfs entry for BCH geometry
Export the BCH geometry parameters via debugfs to aid debugging and provide the necessary information for legacy kobs-ng tool. The debugfs directory "gpmi-nand" is created under the root debugfs tree, exposing: bch_geometry - blob containing the struct bch_geometry fields raw_mode - flag indicating raw mode status The implementation is guarded with #ifdef CONFIG_DEBUG_FS to avoid build failures when debugfs is disabled. Signed-off-by: Han Xu <han.xu@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions