walnux/boards
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
..
arm drivers/fs:Always use register_mtddriver() to register the MTD device. 2025-07-16 14:11:41 +08:00
arm64 arch/arm64/fvp-v8r: enable Cmake 2025-06-30 17:12:38 +08:00
avr arch/avr/avrdx: do not copy const variables into RAM 2025-07-10 12:21:40 -03:00
dummy
hc/m9s12 boards/hc/m9s12: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
mips boards: net tcp backlog is enabled by default 2025-06-26 09:32:54 -03:00
misoc/lm32/misoc boards/misoc/lm32: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
or1k/mor1kx/or1k boards/defconfig: remove unused config about dd 2025-04-20 00:41:26 +08:00
renesas boards: net tcp backlog is enabled by default 2025-06-26 09:32:54 -03:00
risc-v drivers/fs:Always use register_mtddriver() to register the MTD device. 2025-07-16 14:11:41 +08:00
sim/sim/sim boards: net tcp backlog is enabled by default 2025-06-26 09:32:54 -03:00
sparc style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
tricore/tc3xx/tc397 style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
x86/qemu/qemu-i486 qemu-i486: Simplify Make.defs by include Toolchain.defs 2025-01-27 02:28:39 +08:00
x86_64/intel64/qemu-intel64 boards/qemu-intel64/qemu.ld: add .lbss, .ldata and .lrodata to approriate sections 2025-07-07 23:45:15 +08:00
xtensa drivers/fs:Always use register_mtddriver() to register the MTD device. 2025-07-16 14:11:41 +08:00
z16/z16f/z16f2800100zcog boards/z16/z16f: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
z80 drivers/fs:Always use register_mtddriver() to register the MTD device. 2025-07-16 14:11:41 +08:00
.gitignore
Board.mk
boardctl.c libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
CMakeLists.txt boards: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
dummy.c boards: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
Kconfig arch/avr/avrdx: do not copy const variables into RAM 2025-07-10 12:21:40 -03:00
Makefile boards: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00