u-boot/include/dm
Simon Glass ec1add1e51 dm: core: Inline a few ofnode functions in SPL
A recent change to unify the flattree/livetree code introduced a small
size increase in SPL on some boards. For example SPL code size for
px30-core-ctouch2-px30 increased by 40 bytes.

To address this we can take advantage of the fact that some of the ofnode
functions are only called a few times in SPL, so it is worth inlining
them.

Add new Kconfig options to control this. These functions are not inlined
for U-Boot proper, since this increases code size.

Fixes: 2ebea5eaeb ("dm: core: Combine the flattree and livetree binding code")
Signed-off-by: Simon Glass <sjg@chromium.org>
2020-12-22 20:39:26 -07:00
..
platform_data dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
acpi.h acpi: Don't reset the tables with every new generation 2020-11-06 09:51:31 +08:00
device-internal.h dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
device.h dm: core: Drop seq and req_seq 2020-12-18 20:32:21 -07:00
device_compat.h dm: Don't undefine dev_xxx macros 2020-10-16 09:44:27 -04:00
devres.h dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
fdtaddr.h dm: core: Use const device for the devfdt...() interface 2020-02-05 19:33:45 -07:00
lists.h dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
of.h dm: Avoid using #ifdef for CONFIG_OF_LIVE 2020-10-29 14:42:17 -06:00
of_access.h dm: add cells_count parameter in *_count_phandle_with_args 2020-10-06 09:07:54 -06:00
of_addr.h dm: core: Introduce xxx_translate_dma_address() 2019-07-22 09:21:28 +02:00
of_extra.h dm: core: Update ofnode to read binman-style flash entry 2018-10-09 04:40:27 -06:00
ofnode.h dm: core: Inline a few ofnode functions in SPL 2020-12-22 20:39:26 -07:00
pci.h dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
pinctrl.h pinctrl: Reformat documentation in dm/pinctrl.h 2020-10-08 11:42:36 -04:00
platdata.h dm: Rename 'platdata_size' to 'plat_size' 2020-12-13 16:51:09 -07:00
read.h dm: add cells_count parameter in *_count_phandle_with_args 2020-10-06 09:07:54 -06:00
root.h dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
test.h dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
uclass-id.h dm: test: Add a test for DM_UC_FLAG_NO_AUTO_SEQ 2020-12-18 20:32:21 -07:00
uclass-internal.h dm: core: Update uclass_find_next_free_req_seq() for new scheme 2020-12-18 20:32:21 -07:00
uclass.h dm: Drop uclass_resolve_seq() 2020-12-18 20:32:21 -07:00
util.h dm: core: Allow dm_warn() to be used in SPL 2020-10-29 14:42:17 -06:00