walnux/boards/risc-v
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
..
bl602/bl602evb nuttx/boards:fix kconfig under apps/testing folder that change config-testing-mm to config-testing-heap 2025-01-23 18:19:02 +08:00
bl808/ox64 libc: Rename LIBC_STRING_OPTIMIZE to LIBC_NEWLIB_OPTSPEED 2025-01-20 22:27:19 +08:00
c906/smartl-c906 libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
eic7700x/starpro64 boards/risc-v/eic7700x/starpro64: Add support for PINE64 StarPro64 SBC (ESWIN EIC7700X SoC) 2025-03-05 12:52:44 -03:00
esp32c3 boards/risc-v: Add board layer SHA accelerator support for esp32[-c3|-c6|-h2] 2025-07-09 12:13:06 +08:00
esp32c3-legacy drivers/fs:Always use register_mtddriver() to register the MTD device. 2025-07-16 14:11:41 +08:00
esp32c6 drivers/fs:Always use register_mtddriver() to register the MTD device. 2025-07-16 14:11:41 +08:00
esp32h2 boards/risc-v: Add board layer SHA accelerator support for esp32[-c3|-c6|-h2] 2025-07-09 12:13:06 +08:00
fe310/hifive1-revb boards/risk-v/fe310: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
hpm6000/hpm6360evk boards/risk-v/hpm6000: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
hpm6750/hpm6750evk2 boards/risk-v/hpm6750: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
jh7110/star64 libc: Rename LIBC_STRING_OPTIMIZE to LIBC_NEWLIB_OPTSPEED 2025-01-20 22:27:19 +08:00
k210/maix-bit libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
k230/canmv230 style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
litex/arty_a7 boards: net tcp backlog is enabled by default 2025-06-26 09:32:54 -03:00
mpfs style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
qemu-rv/rv-virt boards: net tcp backlog is enabled by default 2025-06-26 09:32:54 -03:00
rv32m1/rv32m1-vega boards/risk-v/rv32m1: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
sg2000/milkv_duos libc: Rename LIBC_STRING_OPTIMIZE to LIBC_NEWLIB_OPTSPEED 2025-01-20 22:27:19 +08:00