Re: [PATCH] global_data: Only include driver model fields when DM is enabled

Tom Rini <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
On Mon, 10 Aug 2026 20:48:28 +0000, Jonas Karlman wrote:

> The struct list_head dmtag_list, struct udevice *dm_root, struct
> list_head uclass_root_s and struct list_head *uclass_root fields in
> struct global_data takes up 24/48 bytes of memory on ARMv7/AArch64.
> However, these fields are only used when $(PHASE_)DM is enabled.
> 
> Guard driver model related fields using CONFIG_IS_ENABLED(DM) to save
> memory space when U-Boot proper is built with DM=y and xPL is built
> without xPL_DM.
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] global_data: Only include driver model fields when DM is enabled
      commit: 41541f47a3af93d76d63c2d6d1f1c859fa3dd61a
-- 
Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.