mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +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> |
||
---|---|---|
.. | ||
aspeed | ||
ath79 | ||
broadcom | ||
exynos | ||
intel | ||
mediatek | ||
meson | ||
mscc | ||
mtmips | ||
mvebu | ||
nxp | ||
renesas | ||
rockchip | ||
uniphier | ||
Kconfig | ||
Makefile | ||
pinctrl-at91-pio4.c | ||
pinctrl-at91.c | ||
pinctrl-generic.c | ||
pinctrl-sandbox.c | ||
pinctrl-single.c | ||
pinctrl-sti.c | ||
pinctrl-stmfx.c | ||
pinctrl-uclass.c | ||
pinctrl_pic32.c | ||
pinctrl_stm32.c |