u-boot/drivers/core
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
..
acpi.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
device-remove.c dm: core: Drop seq and req_seq 2020-12-18 20:32:21 -07:00
device.c dm: core: Drop seq and req_seq 2020-12-18 20:32:21 -07:00
devres.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
dump.c cmd: Drop use of old sequence numbers in commands 2020-12-18 20:32:21 -07:00
fdtaddr.c dm: core: Fix devfdt_get_addr_ptr return value 2020-08-22 07:59:14 -06:00
Kconfig dm: core: Inline a few ofnode functions in SPL 2020-12-22 20:39:26 -07:00
lists.c dm: Support parent devices with of-platdata 2020-10-29 14:42:18 -06:00
Makefile dm: Avoid using #ifdef for CONFIG_OF_LIVE 2020-10-29 14:42:17 -06:00
of_access.c dm: add cells_count parameter in *_count_phandle_with_args 2020-10-06 09:07:54 -06:00
of_addr.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
of_extra.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ofnode.c dm: core: Inline a few ofnode functions in SPL 2020-12-22 20:39:26 -07:00
read.c dm: Fix return value in dev_read_alias_seq() 2020-12-18 20:32:21 -07:00
read_extra.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
regmap.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
root.c dm: core: Add a new sequence number for devices 2020-12-18 20:32:21 -07:00
simple-bus.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
simple-pm-bus.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
syscon-uclass.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
uclass.c dm: core: Update uclass_find_next_free_req_seq() for new scheme 2020-12-18 20:32:21 -07:00
util.c dm: core: Allow dm_warn() to be used in SPL 2020-10-29 14:42:17 -06:00