u-boot/drivers/core
Simon Glass 967a7d483a dm: core: Set up driver model for OF_PLATDATA_INST
With this we don't need to scan and bind drivers, not even the root
device. We just need to locate the root device that was set up at build
time, then set our root in global_data to point to it.

Update the code to handle this case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
2021-03-22 19:23:28 +13:00
..
acpi.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
device-remove.c Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
device.c dm: core: Allow dropping run-time binding of devices 2021-03-22 19:23:28 +13:00
devres.c dm: core: Access device flags through functions 2021-01-05 12:24:41 -07:00
dump.c dm: core: Access device flags through functions 2021-01-05 12:24:41 -07:00
fdtaddr.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Kconfig x86: Move INTEL_ACPIGEN to arch/x86 2021-03-09 09:42:12 +08:00
lists.c dm: core: Add logging when lists_bind_fdt() fails 2021-01-05 12:24:41 -07:00
Makefile dm: Avoid using #ifdef for CONFIG_OF_LIVE 2020-10-29 14:42:17 -06:00
of_access.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
of_addr.c dm: error handling dev_get_dma_range() 2021-03-22 19:23:26 +13:00
of_extra.c dm: core: Update ofnode_read_fmap_entry() to read hashes 2021-01-30 14:25:42 -07:00
ofnode.c dm: Introduce xxx_get_dma_range() 2021-02-18 11:56:25 +01:00
read.c dm: Introduce xxx_get_dma_range() 2021-02-18 11:56:25 +01: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 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
root.c dm: core: Set up driver model for OF_PLATDATA_INST 2021-03-22 19:23:28 +13:00
simple-bus.c dm: core: Move priv/plat structs for simple_bus to headers 2021-01-05 12:24:41 -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 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
util.c dm: core: Allow dm_warn() to be used in SPL 2020-10-29 14:42:17 -06:00