summaryrefslogtreecommitdiff
path: root/tools/ifdtool.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2014-12-12 21:05:20 +0800
committerSimon Glass <sjg@chromium.org>2014-12-13 22:32:04 -0700
commit673ed2f8c2e6b5526de929861d7dd42834c572fd (patch)
tree8820261a538e2598448ef8c975698063cbdf61a5 /tools/ifdtool.h
parent64542f4616c484142b90534f9f174a632d7d1904 (diff)
downloadu-boot-673ed2f8c2e6b5526de929861d7dd42834c572fd.tar.gz
u-boot-673ed2f8c2e6b5526de929861d7dd42834c572fd.tar.bz2
u-boot-673ed2f8c2e6b5526de929861d7dd42834c572fd.zip
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>
Diffstat (limited to 'tools/ifdtool.h')
-rw-r--r--tools/ifdtool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/ifdtool.h b/tools/ifdtool.h
index fbec421bee..0d0cc3685e 100644
--- a/tools/ifdtool.h
+++ b/tools/ifdtool.h
@@ -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,