38ad79d33946590c862567c7cbdf25b5a46d8149 |
|
14-Nov-2012 |
Kim Phillips <kim.phillips@freescale.com> |
dtc/tests: don't include fdt.h prior to libfdt.h tests will need fdt type definitions provided in a subsequent patch to libfdt_env.h. Since libfdt.h includes libfdt_env.h in the right order anyway, just remove the fdt.h include. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Acked-by: David Gibson <david@gibson.dropbear.id.au>
/external/dtc/tests/get_name.c
|
01a2d8a3e9f19cb1f5ee923af23682fad783a799 |
|
04-Aug-2008 |
David Gibson <david@gibson.dropbear.id.au> |
dtc: Make many functions 'static' This patch marks various functions not shared between c files 'static', as they should be. There are a couple of functions in dtc, and many in the testsuite. This is *almost* enough to enable the -Wmissing-prototypes warning. It's not quite enough, because there's a mess of junk in the flex generated code which triggers that warning which I'm not yet sure how to deal with. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
/external/dtc/tests/get_name.c
|
afa8c2e1d755f1f963e3ebe1fed01e49f6b16515 |
|
18-Oct-2007 |
Jon Loeliger <jdl@freescale.com> |
Appease the printf() format $Gods with a correct type. Signed-off-by: Jon Loeliger <jdl@freescale.com>
/external/dtc/tests/get_name.c
|
d2a9da045897c37071597d9aa473964717b14735 |
|
28-Sep-2007 |
David Gibson <david@gibson.dropbear.id.au> |
libfdt: Make unit address optional for finding nodes At present, the fdt_subnode_offset() and fdt_path_offset() functions in libfdt require the exact name of the nodes in question be passed, including unit address. This is contrary to traditional OF-like finddevice() behaviour, which allows the unit address to be omitted (which is useful when the device name is unambiguous without the address). This patch introduces similar behaviour to fdt_subnode_offset_namelen(), and hence to fdt_subnode_offset() and fdt_path_offset() which are implemented in terms of the former. The unit address can be omitted from the given node name. If this is ambiguous, the first such node in the flattened tree will be selected (this behaviour is consistent with IEEE1275 which specifies only that an arbitrary node matching the given information be selected). This very small change is then followed by many more diffs which change the test examples and testcases to exercise this behaviour. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
/external/dtc/tests/get_name.c
|
9d26eabdc6ff9d9676436596876c732de741b9af |
|
30-Aug-2007 |
David Gibson <david@gibson.dropbear.id.au> |
libfdt: Add fdt_get_name() to retrieve a node's name This patch adds a new fdt_get_name() function to libfdt which will return a node's name string (including unit address, if any). Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
/external/dtc/tests/get_name.c
|