summaryrefslogtreecommitdiff
path: root/test/dm/test-dm.sh
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2015-05-13 11:38:34 (GMT)
committerSimon Glass <sjg@chromium.org>2015-05-15 01:59:07 (GMT)
commitf64000c302f78103cb704e9843ab0c9ae1629bf1 (patch)
tree8d9f80a34d5d246fbd15618a6691cb93ae3caebd /test/dm/test-dm.sh
parente8f339e0e8bb15ba6e4079d0a239ddc211a02935 (diff)
downloadu-boot-fsl-qoriq-f64000c302f78103cb704e9843ab0c9ae1629bf1.tar.xz
test: dm: test.dts - move to sandbox dts directory
The file test.dts from driver model test directory, was compiled by call dtc in script: test/dm/test-dm.sh. This doesn't allow for including of dtsi files and using of C preprocessor routines in this dts file. Since the mentioned script builds U-Boot before tests, then moving the test.dts file into sandbox dts directory is reasonable. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Tested on sandbox: Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/test-dm.sh')
-rwxr-xr-xtest/dm/test-dm.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/dm/test-dm.sh b/test/dm/test-dm.sh
index 6158f68..5c47ffd 100755
--- a/test/dm/test-dm.sh
+++ b/test/dm/test-dm.sh
@@ -6,12 +6,11 @@ die() {
}
NUM_CPUS=$(cat /proc/cpuinfo |grep -c processor)
-dtc -I dts -O dtb test/dm/test.dts -o test/dm/test.dtb
make O=sandbox sandbox_config || die "Cannot configure U-Boot"
make O=sandbox -s -j${NUM_CPUS} || die "Cannot build U-Boot"
dd if=/dev/zero of=spi.bin bs=1M count=2
echo -n "this is a test" > testflash.bin
dd if=/dev/zero bs=1M count=4 >>testflash.bin
-./sandbox/u-boot -d test/dm/test.dtb -c "dm test"
+./sandbox/u-boot -d ./sandbox/arch/sandbox/dts/test.dtb -c "dm test"
rm spi.bin
rm testflash.bin