mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 01:38:22 +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> |
||
---|---|---|
.. | ||
clk-generated.c | ||
clk-h32mx.c | ||
clk-main.c | ||
clk-master.c | ||
clk-peripheral.c | ||
clk-plla.c | ||
clk-plladiv.c | ||
clk-slow.c | ||
clk-system.c | ||
clk-usb.c | ||
clk-utmi.c | ||
Kconfig | ||
Makefile | ||
pmc.c | ||
pmc.h | ||
sckc.c |