mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
dt-bindings: mtd: fixed-partitions: Move "compression" to partition node
The "compression" property is defined in the wrong place as it applies
to individual partitions nodes, not all nodes.
Fixes: 8baba8d52f ("dt-bindings: mtd: fixed-partitions: Add compression property")
Reviewed-by: Simon Glass <simon.glass@canonical.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
This commit is contained in:
committed by
Miquel Raynal
parent
4db35366d6
commit
30f138c078
@@ -108,6 +108,24 @@ properties:
|
||||
with the padding bytes, so may grow. If ‘align-end’ is not provided,
|
||||
no alignment is performed.
|
||||
|
||||
compression:
|
||||
$ref: /schemas/types.yaml#/definitions/string
|
||||
description: |
|
||||
Compression algorithm used to store the data in this partition, chosen
|
||||
from a list of well-known algorithms.
|
||||
|
||||
The contents are compressed using this algorithm.
|
||||
|
||||
enum:
|
||||
- none
|
||||
- bzip2
|
||||
- gzip
|
||||
- lzop
|
||||
- lz4
|
||||
- lzma
|
||||
- xz
|
||||
- zstd
|
||||
|
||||
if:
|
||||
not:
|
||||
required: [ reg ]
|
||||
|
||||
Reference in New Issue
Block a user