mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
On a two-plane part an FTL page spans the same page of two blocks, one in each plane, and flash_program() programmed them one after the other: two program busy times (tPROG) per page. The original firmware's FlashProgEnhanced() programs both with one two-plane program - 80h, the first page, 11h, a wait of tDBSY, 81h, the second page, 10h - so the planes share one tPROG. Do the same where the runs of a write cover the same page of both planes, on parts that take 81h for the second page. The original firmware sends 80h there on Toshiba and Micron parts, which address the planes differently too; those still program a page at a time. enum vendor_t moves to nand-target.h for the check. Over USB mass storage on a Samsung YP-CP3 the NAND wrote at 2.22 MB/s, against 4.35 MB/s in the original firmware; now 2.86 MB/s, every read verified. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Change-Id: I2f40e2ec426cf787b4ce452cbd0d0eb4b702e168 |
||
|---|---|---|
| .. | ||
| arm | ||
| coldfire | ||
| hosted | ||
| mips | ||