u-boot-brain/include/dm
Simon Glass 20e442ab2d dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO()
The current macro is a misnomer since it does not declare a device
directly. Instead, it declares driver_info record which U-Boot uses at
runtime to create a device.

The distinction seems somewhat minor most of the time, but is becomes
quite confusing when we actually want to declare a device, with
of-platdata. We are left trying to distinguish between a device which
isn't actually device, and a device that is (perhaps an 'instance'?)

It seems better to rename this macro to describe what it actually is. The
macros is not widely used, since boards should use devicetree to declare
devices.

Rename it to U_BOOT_DRVINFO(), which indicates clearly that this is
declaring a new driver_info record, not a device.

Signed-off-by: Simon Glass <sjg@chromium.org>
2021-01-05 12:26:35 -07:00
..
platform_data dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
acpi.h acpi: Don't reset the tables with every new generation 2020-11-06 09:51:31 +08:00
device_compat.h dm: Don't undefine dev_xxx macros 2020-10-16 09:44:27 -04:00
device-internal.h dm: core: Allow the uclass list to move 2021-01-05 12:24:41 -07:00
device.h dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07: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: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07: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
of.h dm: Avoid using #ifdef for CONFIG_OF_LIVE 2020-10-29 14:42:17 -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 U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
read.h dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
root.h dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
simple_bus.h dm: core: Move priv/plat structs for simple_bus to headers 2021-01-05 12:24:41 -07:00
test.h test: Move some test drivers into their own file 2021-01-05 12:24:40 -07: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: Add function to access uclass priv 2021-01-05 12:24:40 -07:00
uclass.h dm: core: Rename the priv/plat members 2021-01-05 12:24:40 -07:00
util.h dm: core: Allow dm_warn() to be used in SPL 2020-10-29 14:42:17 -06:00