diff options
| author | Old-Ding <[email protected]> | 2026-11-05 18:30:26 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-11-05 18:30:26 +0800 |
| commit | e2e507c499645e69f06a717cdc5161afec1be6e1 (patch) | |
| tree | 1acb2443f62e93247f02dff581c5723f19a9153a /tools | |
| parent | d279c43627dfe9e4de97895b5d52c97013c16ef5 (diff) | |
drivers: fix CFI MTD array bounds checks (#11558)
* drivers: fix CFI MTD array bounds checks
Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <[email protected]>
* 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 <[email protected]>
* drivers: fix CFI log indentation
Signed-off-by: Old-Ding <[email protected]>
---------
Signed-off-by: Old-Ding <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
