From 3af8e49ceff044021725fc547b19ebac22d0b0f7 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 17 Jul 2018 13:25:40 -0600 Subject: binman: Add an entry filled with a repeating byte It is sometimes useful to have an area of the image which is all zeroes, or all 0xff. This can often be achieved by padding the size of an an existing entry and setting the pad byte for an entry or image. But it is useful to have an explicit means of adding blocks of repeating data to the image. Add a 'fill' entry type to handle this. Signed-off-by: Simon Glass --- tools/binman/README.entries | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'tools/binman/README.entries') diff --git a/tools/binman/README.entries b/tools/binman/README.entries index 147dd40bff..6f09626b24 100644 --- a/tools/binman/README.entries +++ b/tools/binman/README.entries @@ -55,6 +55,22 @@ updating the EC on startup via software sync. +Entry: fill: An entry which is filled to a particular byte value +---------------------------------------------------------------- + +Properties / Entry arguments: + - fill-byte: Byte to use to fill the entry + +Note that the size property must be set since otherwise this entry does not +know how large it should be. + +You can often achieve the same effect using the pad-byte property of the +overall image, in that the space between entries will then be padded with +that byte. But this entry is sometimes useful for explicitly setting the +byte value of a region. + + + Entry: fmap: An entry which contains an Fmap section ---------------------------------------------------- -- cgit v1.2.1