sandbox: Support loading the other FDT
authorSimon Glass <sjg@chromium.org>
Wed, 7 Sep 2022 02:27:09 +0000 (20:27 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 29 Sep 2022 20:09:56 +0000 (16:09 -0400)
commit9859d89b6e859a242d083a96950e0c05f60a5152
tree2a325a1ef333f05acdf5f7016d9da33cdbb34dc5
parent73c5cb9dacbcf2e988fffa66750c4206fccc8cbc
sandbox: Support loading the other FDT

We need an 'other' FDT which is different from the control FDT, so we can
check that the ofnode tests correctly handle them both.

Add this to the build along with a way to read it into the sandbox state.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/state.c
arch/sandbox/dts/Makefile
arch/sandbox/dts/other.dts [new file with mode: 0644]
arch/sandbox/include/asm/state.h