Skip to content

Commit

Permalink
dts: common: yaml: Add partition file
Browse files Browse the repository at this point in the history
This patch adds the yaml definition for flash partitions.

Signed-off-by: Andy Gross <[email protected]>
  • Loading branch information
Andy Gross authored and galak committed Jun 8, 2017
1 parent 6925504 commit 91f67a1
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions dts/common/yaml/partition.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
title: Flash Partitions
id: fixed-partition
version: 0.1

description: >
This binding gives a base FLASH partition description
properties:
- compatible:
type: string
category: required
description: compatible strings
constraint: "fixed-partitions"

- partition\d+:
type: string
generation: define

properties:
- reg:
type: array
description: partition offset and size from flash bank
generation: define
category: required
label: offset

- label:
type: string
description: Partition label
generation: define
category: required

- read-only:
type: boolean
category: optional
description: Denotes read only partition
generation: define

base_label: FLASH_AREA
use-property-label: yes

...

0 comments on commit 91f67a1

Please sign in to comment.