diff options
| author | Han Xu <han.xu@nxp.com> | 2026-07-29 14:22:20 -0500 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-08-07 15:59:37 +0200 |
| commit | 113f62225e98febabba0fee00afd29d4eaf65abb (patch) | |
| tree | 9bc5871c8fed91b0d5f96bfadc4a4ec51653024b /scripts | |
| parent | e5e415262330bd70f983e091d8919d9dcd99e475 (diff) | |
| download | linux-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
