Files
u-boot/cmd
Miquel Raynal d246e70cf8 cmd: mtd: Enable speed benchmarking
Linux features a flash_speed speed test from the mtd-utils suite, U-Boot
does not. Benchmarks are useful for speed improvement developments as
well as troubleshooting or regression testing sometimes.

Enable a benchmark option to enable this feature.

Example of output on a Nuvoton platform:

MA35D1> mtd read nor0 0x81000000 0 0x10000
Reading 65536 byte(s) at offset 0x00000000
MA35D1> mtd read.benchmark nor0 0x81000000 0 0x10000
Reading 65536 byte(s) at offset 0x00000000
Read speed: 3752kiB/s

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
2025-08-23 16:37:22 +02:00
..
2025-04-03 11:43:22 -06:00
2025-07-11 10:43:29 -06:00
2025-05-13 11:30:08 -06:00
2025-05-30 09:49:31 +01:00
2025-05-25 11:27:18 +02:00
2025-07-09 08:40:03 -06:00
2025-04-02 20:00:59 -06:00
2025-07-23 17:37:08 -06:00
2025-07-08 15:00:17 +02:00
2025-08-06 07:49:13 +02:00
2025-08-06 08:41:30 +02:00
2025-06-02 17:26:16 -06:00
2025-08-18 15:47:58 +02:00
2025-08-06 08:41:30 +02:00
2025-08-23 16:37:22 +02:00
2025-06-02 17:26:16 -06:00
2025-08-23 16:37:20 +02:00
2025-05-29 08:30:24 -06:00
2025-04-10 20:55:53 -06:00