walnux/boards/arm/stm32l4
jingfei d12cf1cb75 drivers/fs:Always use register_mtddriver() to register the MTD device.
We have adjusted the registration method for MTD devices
in nuttx/boards, replacing the previous approach using
ftl_initialize() and bchdev_register() with
register_mtddriver().

When registering MTD devices via register_mtddriver(),
FTL and BCH wrappers will be added during the open() process:

1. Character Device Mode:
   When accessing the MTD device node via the open() interface,
   the device will be automatically converted to a character
   device. Both FTL and BCH wrappers will be implicitly added,
   provided that BCH support is enabled in the configuration.

2. Block Device Mode:
   When accessing the MTD device node via open_blockdriver(),
   the device will be treated as a block device, with only
   the FTL wrapper automatically applied.

Due to the automatic wrapping of MTD devices during the
open() process, the legacy registration methods
ftl_initialize() and bchdev_register() are no longer
required for MTD device registration for user code and should
be used only internally within fs and driver code.

Signed-off-by: jingfei <jingfei@xiaomi.com>
2025-07-16 14:11:41 +08:00
..
b-l475e-iot01a boards: net tcp backlog is enabled by default 2025-06-26 09:32:54 -03:00
nucleo-l432kc nucleo-l432kc: Add support to bringup 2025-02-25 09:32:25 +01:00
nucleo-l452re boards: Replace CONFIG_NSH_LINELEN with CONFIG_LINE_MAX 2025-01-15 00:07:58 +08:00
nucleo-l476rg arch/arm: Add CMakeLists for the stm32l4 architecture. 2025-04-07 12:10:40 +08:00
nucleo-l496zg style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
steval-stlcs01v1 style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
stm32l4r9ai-disco style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
stm32l476-mdk boards: Replace CONFIG_NSH_LINELEN with CONFIG_LINE_MAX 2025-01-15 00:07:58 +08:00
stm32l476vg-disco drivers/fs:Always use register_mtddriver() to register the MTD device. 2025-07-16 14:11:41 +08:00