diff options
author | Simon Glass <sjg@chromium.org> | 2018-07-06 10:27:35 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-07-09 09:11:00 -0600 |
commit | 8512ea2e359cf5217183fc87326a015caab1994d (patch) | |
tree | 3865fbcfd1afbbd2b216cee72acfae58fca29489 /tools/dtoc/dtoc_test_bad_reg.dts | |
parent | c3f9454103462e2cfcc5a9120b893f4ea250650a (diff) | |
download | u-boot-8512ea2e359cf5217183fc87326a015caab1994d.zip u-boot-8512ea2e359cf5217183fc87326a015caab1994d.tar.gz u-boot-8512ea2e359cf5217183fc87326a015caab1994d.tar.bz2 |
dtoc: Increase code coverage to 100%
Add more tests to increase dtoc code coverage to 100%.
Correct a whitespace error in some test .dts files at the same time.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/dtoc/dtoc_test_bad_reg.dts')
-rw-r--r-- | tools/dtoc/dtoc_test_bad_reg.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/dtoc/dtoc_test_bad_reg.dts b/tools/dtoc/dtoc_test_bad_reg.dts new file mode 100644 index 0000000..1312acb --- /dev/null +++ b/tools/dtoc/dtoc_test_bad_reg.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Test device tree file for dtoc + * + * Copyright 2018 Google, Inc + */ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + spl-test { + compatible = "test"; + reg = "fre"; + }; +}; |