<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/cmd/dm.c, branch v2023.07.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/cmd/dm.c?h=v2023.07.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/cmd/dm.c?h=v2023.07.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2023-02-10T12:41:40Z</updated>
<entry>
<title>Correct SPL uses of SYS_LONGHELP</title>
<updated>2023-02-10T12:41:40Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-02-05T22:40:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5b4d810de73cea31768dfd282667d81243f3d7b9'/>
<id>urn:sha1:5b4d810de73cea31768dfd282667d81243f3d7b9</id>
<content type='text'>
This converts 5 usages of this option to the non-SPL form, since there is
no SPL_SYS_LONGHELP defined in Kconfig

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: Support sorting devices with dm tree</title>
<updated>2023-01-23T23:11:39Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-01-17T17:47:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3d01254140fc9e5e900d739cb97bd9fba6aa2b68'/>
<id>urn:sha1:3d01254140fc9e5e900d739cb97bd9fba6aa2b68</id>
<content type='text'>
Add a -s flag to sort the top-level devices in order of uclass ID.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: fix a typo in help text</title>
<updated>2022-08-26T22:32:59Z</updated>
<author>
<name>Sergei Antonov</name>
<email>saproj@gmail.com</email>
</author>
<published>2022-08-21T13:45:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a7091f3f8c859a29ad63b94952472bd93d60488c'/>
<id>urn:sha1:a7091f3f8c859a29ad63b94952472bd93d60488c</id>
<content type='text'>
Signed-off-by: Sergei Antonov &lt;saproj@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: Add a command to show driver model statistics</title>
<updated>2022-06-28T02:09:52Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-05-08T10:39:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2cb4ddb91ec9fcb77c895e4a1192a15aece700c6'/>
<id>urn:sha1:2cb4ddb91ec9fcb77c895e4a1192a15aece700c6</id>
<content type='text'>
This command shows the memory used by driver model along with various
hints as to what it might be if some 'core' tags were moved to use the
tag list instead of a core (i.e. always-there) pointer.

This may help with future work to reduce memory usage.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: Sort dm subcommands</title>
<updated>2022-06-28T02:09:52Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-05-08T10:39:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dee2f5ae5cde41a5f9da7f154b47bfe92f531957'/>
<id>urn:sha1:dee2f5ae5cde41a5f9da7f154b47bfe92f531957</id>
<content type='text'>
Put these in alphabetic order, both in the help and in the implementation,
as there are quite a few subcommands now. Tweak the help for 'dm tree' to
better explain what it does.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: Rename dm_dump_all()</title>
<updated>2022-06-28T02:09:52Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-05-08T10:39:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1452870404804210db1d797ec046e24a99c101bf'/>
<id>urn:sha1:1452870404804210db1d797ec046e24a99c101bf</id>
<content type='text'>
This is not a good name anymore as it does not dump everything. Rename it
to dm_dump_tree() to avoid confusion.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cmd: dm: migrate dm command to use U_BOOT_CMD_WITH_SUBCMDS()</title>
<updated>2022-06-06T21:47:16Z</updated>
<author>
<name>Ovidiu Panait</name>
<email>ovpanait@gmail.com</email>
</author>
<published>2022-05-08T10:01:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7f0836a1105de86ef1b4ffdd608ebfe21504cb44'/>
<id>urn:sha1:7f0836a1105de86ef1b4ffdd608ebfe21504cb44</id>
<content type='text'>
Migrate dm command to use U_BOOT_CMD_WITH_SUBCMDS() helper macro, to reduce
duplicated code. We can also drop the CONFIG_NEEDS_MANUAL_RELOC exception,
as the command list is updated post relocation in board_r.c initcall
initr_manual_reloc_cmdtable().

Signed-off-by: Ovidiu Panait &lt;ovpanait@gmail.com&gt;
</content>
</entry>
<entry>
<title>cmd: dm: Fixed/Added DM driver listing subcommands</title>
<updated>2020-07-07T19:37:13Z</updated>
<author>
<name>Niel Fourie</name>
<email>lusus@denx.de</email>
</author>
<published>2020-03-24T15:17:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2e48836895d1246b40f7e166695651882e7bb68c'/>
<id>urn:sha1:2e48836895d1246b40f7e166695651882e7bb68c</id>
<content type='text'>
Renamed dm "drivers" subcommand to "compat" (as it listed
compatibility strings) and prevent it from segfaulting when
drivers have no of_match populated.

Added a new "drivers" subcommand to dump a list of all known DM
drivers and for each, their uclass id, uclass driver and names of
attached devices.

Added a new "static" subcommand to dump a list of DM drivers with
statically defined platform data.

Signed-off-by: Niel Fourie &lt;lusus@denx.de&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Sean Anderson &lt;seanga2@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>command: Remove the cmd_tbl_t typedef</title>
<updated>2020-05-18T22:36:55Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-05-10T17:40:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=09140113108541b95d340f3c7b6ee597d31ccc73'/>
<id>urn:sha1:09140113108541b95d340f3c7b6ee597d31ccc73</id>
<content type='text'>
We should not use typedefs in U-Boot. They cannot be used as forward
declarations which means that header files must include the full header to
access them.

Drop the typedef and rename the struct to remove the _s suffix which is
now not useful.

This requires quite a few header-file additions.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cmd: Add test and fix bugs for dm drivers</title>
<updated>2020-04-09T13:18:56Z</updated>
<author>
<name>Sean Anderson</name>
<email>seanga2@gmail.com</email>
</author>
<published>2020-04-06T14:23:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=97c7ac214e1df5579a1f9f35d36c717e6975619a'/>
<id>urn:sha1:97c7ac214e1df5579a1f9f35d36c717e6975619a</id>
<content type='text'>
Add a test for the dm drivers command. Also fix a null pointer dereference
revealed by said test.

Signed-off-by: Sean Anderson &lt;seanga2@gmail.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Tested-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
