]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit9cf0f55d3edd46cef528418e0e7a7ae377c336cc
tree2a325a1ef333f05acdf5f7016d9da33cdbb34dc5
parentdb9d635218e78e3767ded2baf0b7dceee27261f8
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