test/py: test_efi_fit: Update #size-cells to 1
authorBin Meng <bin.meng@windriver.com>
Sun, 28 Jun 2020 01:03:17 +0000 (18:03 -0700)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 30 Jun 2020 12:35:41 +0000 (14:35 +0200)
commitb7cae5739741fad1327e64c18a0b30919bc77a0e
treebd891d2bc64601d3e1d4f66bf22891319a65c3be
parent039d4f50e4894fc5176d4913e68fb8d6a38571cf
test/py: test_efi_fit: Update #size-cells to 1

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.

Per the DT binding, the /reserved-memory node requires both
<#address-cells> and <#size-cells> and they should use the same
values as the root node. For the root node, it's not very useful
if <#size-cells> is zero.

Update #size-cells to 1 so tests can pass.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
test/py/tests/test_efi_fit.py