mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +00:00
addf358bac
Currently when using OF_PLATDATA the binding between devices and drivers is done trying to match the compatible string in the node with a driver name. However, usually a single driver supports multiple compatible strings which causes that only devices which its compatible string matches a driver name get bound. To overcome this issue, this patch adds the U_BOOT_DRIVER_ALIAS macro, which generates no code at all, but allows an easy way to declare driver name aliases. Thanks to this, dtoc could be improve to look for the driver name based on its alias when it populates the U_BOOT_DEVICE entry. Signed-off-by: Walter Lozano <walter.lozano@collabora.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pinctrl-imx.c | ||
pinctrl-imx.h | ||
pinctrl-imx5.c | ||
pinctrl-imx6.c | ||
pinctrl-imx7.c | ||
pinctrl-imx7ulp.c | ||
pinctrl-imx8.c | ||
pinctrl-imx8m.c | ||
pinctrl-imxrt.c | ||
pinctrl-mxs.c | ||
pinctrl-mxs.h | ||
pinctrl-scu.c | ||
pinctrl-vf610.c |