[PATCH] test/py: test_efi_fit: Update #size-cells to 1
Bin Meng
bmeng.cn at gmail.com
Sat Jun 27 14:12:00 CEST 2020
From: Bin Meng <bin.meng at windriver.com>
test_efi_fit tests fail on RISC-V currently. This is due to the
RISC-V arch_fixup_fdt() checks the #size-cells of the root node
in order to correctly fix up the reserved memory node.
Update #size-cells to 1 so tests can pass.
Signed-off-by: Bin Meng <bin.meng at windriver.com>
---
test/py/tests/test_efi_fit.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/py/tests/test_efi_fit.py b/test/py/tests/test_efi_fit.py
index beaf4a3..3616e99 100644
--- a/test/py/tests/test_efi_fit.py
+++ b/test/py/tests/test_efi_fit.py
@@ -106,7 +106,7 @@ FDT_DATA = '''
/ {
#address-cells = <1>;
- #size-cells = <0>;
+ #size-cells = <1>;
model = "%(sys-arch)s %(fdt_type)s EFI FIT Boot Test";
compatible = "%(sys-arch)s";
--
2.7.4
More information about the U-Boot
mailing list