1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00

tools/ifdtool: Support writing multiple files (-w) simultaneously

Currently ifdtool only supports writing one file (-w) at a time.
This looks verbose when generating u-boot.rom for x86 targets.
This change allows at most 16 files to be written simultaneously.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Bin Meng
2014-12-12 21:05:20 +08:00
committed by Simon Glass
parent 64542f4616
commit 673ed2f8c2
2 changed files with 26 additions and 7 deletions

View File

@@ -14,6 +14,8 @@
#define IFDTOOL_VERSION "1.1-U-Boot"
#define WRITE_MAX 16
enum spi_frequency {
SPI_FREQUENCY_20MHZ = 0,
SPI_FREQUENCY_33MHZ = 1,