Files
rt-thread/components/drivers
Old-Ding e2e507c499 drivers: fix CFI MTD array bounds checks (#11558)
* drivers: fix CFI MTD array bounds checks

Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>

* drivers: reject truncated CFI erase geometry

A truncated erase-region table leaves the full flash size registered
with only part of its sector geometry. Fail probing instead of exposing a
device whose erase address lookup can select the wrong sector.

Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>

* drivers: fix CFI log indentation

Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>

---------

Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>
2026-11-05 18:30:26 +08:00
..
…
2026-08-07 09:25:45 +08:00
…
2026-10-17 09:44:26 +08:00
…
…
2026-10-17 09:44:26 +08:00
2026-10-17 09:44:26 +08:00
…
…
…