diff options
author | Tom Rini <trini@konsulko.com> | 2016-02-26 16:22:28 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-02-26 16:22:28 -0500 |
commit | d5c6144fe326e255e42ec273fc5d88f45cd61548 (patch) | |
tree | 470446ad6c9d5580b0ff778d5adc77ee05f6e1b8 /test | |
parent | 38e65aeb70b72132c0d2ec0ed389f7fc8b7bdf4c (diff) | |
parent | 6796704b0dfb4f98cb4a026988e9739884812b5c (diff) |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'test')
-rw-r--r-- | test/dm/Makefile | 4 | ||||
-rwxr-xr-x | test/image/test-fit.py | 4 | ||||
-rwxr-xr-x | test/trace/test-trace.sh | 4 | ||||
-rw-r--r-- | test/vboot/sandbox-u-boot.dts | 3 |
4 files changed, 12 insertions, 3 deletions
diff --git a/test/dm/Makefile b/test/dm/Makefile index d4f3f22e58..fd0198f1ba 100644 --- a/test/dm/Makefile +++ b/test/dm/Makefile @@ -27,8 +27,8 @@ obj-y += regmap.o obj-$(CONFIG_REMOTEPROC) += remoteproc.o obj-$(CONFIG_RESET) += reset.o obj-$(CONFIG_DM_RTC) += rtc.o -#obj-$(CONFIG_DM_SPI_FLASH) += sf.o -#obj-$(CONFIG_DM_SPI) += spi.o +obj-$(CONFIG_DM_SPI_FLASH) += sf.o +obj-$(CONFIG_DM_SPI) += spi.o obj-y += syscon.o obj-$(CONFIG_DM_USB) += usb.o obj-$(CONFIG_DM_PMIC) += pmic.o diff --git a/test/image/test-fit.py b/test/image/test-fit.py index d5143cbb0f..db0649fca8 100755 --- a/test/image/test-fit.py +++ b/test/image/test-fit.py @@ -108,6 +108,10 @@ base_fdt = ''' model = "Sandbox Verified Boot Test"; compatible = "sandbox"; + reset@0 { + compatible = "sandbox,reset"; + }; + }; ''' diff --git a/test/trace/test-trace.sh b/test/trace/test-trace.sh index 3e8651ed60..746793c83b 100755 --- a/test/trace/test-trace.sh +++ b/test/trace/test-trace.sh @@ -45,7 +45,9 @@ check_results() { # between calls 2 and 3, where tracing is paused. # This code gets the sign of the difference between each number and # its predecessor. - counts="$(tr -d , <${tmp} | awk '/traced function calls/ { diff = $1 - upto; upto = $1; printf "%d ", diff < 0 ? -1 : (diff > 0 ? 1 : 0)}')" + counts="$(tr -d ',\r' <${tmp} | awk \ + '/traced function calls/ { diff = $1 - upto; upto = $1; \ + printf "%d ", diff < 0 ? -1 : (diff > 0 ? 1 : 0)}')" if [ "${counts}" != "1 1 0 1 " ]; then fail "trace collection error: ${counts}" diff --git a/test/vboot/sandbox-u-boot.dts b/test/vboot/sandbox-u-boot.dts index a1e853c9ca..63f8f401de 100644 --- a/test/vboot/sandbox-u-boot.dts +++ b/test/vboot/sandbox-u-boot.dts @@ -4,4 +4,7 @@ model = "Sandbox Verified Boot Test"; compatible = "sandbox"; + reset@0 { + compatible = "sandbox,reset"; + }; }; |