On Sat, Oct 5, 2019 at 11:13 AM Bin Meng <bmeng...@gmail.com> wrote: > > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass <s...@chromium.org> wrote: > > > > U-Boot already supports using -D to indicate that it should use the normal > > device tree. It is sometimes useful to run with the test device tree, e.g. > > when running a test. Add a -T option for this along with some > > documentation. > > > > It can be used like this: > > > > /tmp/b/sandbox/u-boot -T -c "ut dm pci_busdev" > > > > (this will use /tmp/b/sandbox/arch/sandbox/dts/test.dtb as the DT) > > > > Signed-off-by: Simon Glass <s...@chromium.org> > > --- > > > > arch/sandbox/cpu/start.c | 25 +++++++++++++++++++++++++ > > doc/arch/sandbox.rst | 9 +++++++++ > > 2 files changed, 34 insertions(+) > > > > Reviewed-by: Bin Meng <bmeng...@gmail.com> > Tested-by: Bin Meng <bmeng...@gmail.com>
applied to u-boot-x86/next, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot