Skip to content

Commit 26856ca

Browse files
carlocaionenashif
authored andcommitted
test: device: Specify address and size cells.
The test is wrongly assuming that all the archs have #address-cells = <1> and #size-cells = <1> at the DT root. This is not always true, and it makes the test failing for AArch64. Fix the wrong assumption. Signed-off-by: Carlo Caione <[email protected]>
1 parent d4962db commit 26856ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/kernel/device/app.overlay

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
*/
1515

1616
/ {
17+
#address-cells = <1>;
18+
#size-cells = <1>;
19+
1720
fakedriver@E0000000 {
1821
compatible = "fakedriver";
1922
reg = <0xE0000000 0x2000>;

0 commit comments

Comments
 (0)