From 673ed2f8c2e6b5526de929861d7dd42834c572fd Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Fri, 12 Dec 2014 21:05:20 +0800 Subject: 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 Acked-by: Simon Glass --- tools/ifdtool.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/ifdtool.h') diff --git a/tools/ifdtool.h b/tools/ifdtool.h index fbec421..0d0cc36 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, -- cgit v1.1