diff options
Diffstat (limited to 'test/05-gpt-partition-by-typeuuid.dts')
-rw-r--r-- | test/05-gpt-partition-by-typeuuid.dts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/05-gpt-partition-by-typeuuid.dts b/test/05-gpt-partition-by-typeuuid.dts new file mode 100644 index 0000000..575bd86 --- /dev/null +++ b/test/05-gpt-partition-by-typeuuid.dts @@ -0,0 +1,25 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright 2023 The DT-Utils Authors <oss-tools@pengutronix.de> */ +/dts-v1/; + +#include "barebox-state.dtsi" + +/ { + expected-dev = __GPT_LOOPDEV__; + expected-partno = <2>; + expected-offset = <0x00000>; + expected-size = <0x8000>; + + disk: loopfile { + compatible = "barebox,hostfile"; + barebox,filename = __GPT_LOOPDEV__; + barebox,blockdev; + }; +}; + +&state { + backend = <&disk>; + backend-type = "raw"; + backend-stridesize = <0x40>; + backend-storage-type = "direct"; +}; |