Sometimes we have several sections which repeat the same entries (e.g. for a read-only and read-write version of the same section). It is useful to be able to tell these entries apart by name. Add a new 'name-prefix' property for sections, which causes all entries within that section to have a given name prefix. Signed-off-by: Simon Glass <sjg@chromium.org>lime2-spi
parent
3b0c3821d6
commit
c8d48efb2b
@ -0,0 +1,30 @@ |
||||
// SPDX-License-Identifier: GPL-2.0+ |
||||
|
||||
/dts-v1/; |
||||
|
||||
/ { |
||||
#address-cells = <1>; |
||||
#size-cells = <1>; |
||||
|
||||
binman { |
||||
pad-byte = <0x26>; |
||||
size = <0x28>; |
||||
section@0 { |
||||
read-only; |
||||
name-prefix = "ro-"; |
||||
size = <0x10>; |
||||
pad-byte = <0x21>; |
||||
|
||||
u-boot { |
||||
}; |
||||
}; |
||||
section@1 { |
||||
name-prefix = "rw-"; |
||||
size = <0x10>; |
||||
pad-byte = <0x61>; |
||||
|
||||
u-boot { |
||||
}; |
||||
}; |
||||
}; |
||||
}; |
Loading…
Reference in new issue