Lines Matching +full:- +full:- +full:refresh +full:- +full:keys
2 # SPDX-License-Identifier: GPL-2.0+
28 """Low-level function to get the property value based on its offset
76 node = self.dtb.GetNode('/spl-test')
100 """Tetst that we can access the raw device-tree data"""
105 node = self.dtb.GetNode('/spl-test')
109 'stringarray', 'stringval', 'u-boot,dm-pre-reloc'],
110 sorted(props.keys()))
115 fdt.CheckErr(-libfdt.NOTFOUND, 'hello')
119 node = self.dtb.GetNode('/spl-test')
135 self.node = self.dtb.GetNode('/spl-test')
143 node2 = self.dtb.GetNode('/spl-test2')
171 del self.dtb._root.subnodes[-1]
173 self.dtb.Refresh()
181 self.dtb.Refresh()
183 'spl-test != spl-test2', str(e.exception))
190 self.dtb.Refresh()
197 node = dtb.GetNode('/phandle-source2')
199 target = dtb.GetNode('/phandle-target')
216 self.node = self.dtb.GetNode('/spl-test')
224 node = dtb.GetNode('/phandle-source2')
237 return fdt.Prop(self.node, -1, prop_name, p)
269 self.assertEqual(['multi-word', 'message'], prop.value)
290 node2 = self.dtb.GetNode('/spl-test2')
305 # A 4-byte array looks like a single integer. When widened by a longer
342 # Updating existing properties should be OK, since the device-tree size
350 # This should fail since it would need to increase the device-tree size
365 offset = self.fdt.path_offset('/spl-test/subnode')
391 self.node.SetString('string', val[:-1])
436 self.node = self.dtb.GetNode('/spl-test')
479 node = dtb.GetNode('/phandle-source2')
481 node = dtb.GetNode('/phandle-source')
523 name to execute (as in 'fdt -t testFdt', for example)
548 parser.add_option('-B', '--build-dir', type='string', default='b',
550 parser.add_option('-P', '--processes', type=int,
552 parser.add_option('-t', '--test', action='store_true', dest='test',
554 parser.add_option('-T', '--test-coverage', action='store_true',