mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
gpio: omap_gpio: Add DM_FLAG_PRE_RELOC flag
With DM enabled in SPL, DM_FLAG_PRE_RELOC is required for the omap_gpio driver to be bound to the gpio devices. Therefore, add DM_FLAG_PRE_RELOC flag to the omap_gpio driver. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
f69dce5081
commit
8e14ba7bd5
1 changed files with 1 additions and 0 deletions
|
@ -345,6 +345,7 @@ U_BOOT_DRIVER(gpio_omap) = {
|
|||
.bind = omap_gpio_bind,
|
||||
.probe = omap_gpio_probe,
|
||||
.priv_auto_alloc_size = sizeof(struct gpio_bank),
|
||||
.flags = DM_FLAG_PRE_RELOC,
|
||||
};
|
||||
|
||||
#endif /* CONFIG_DM_GPIO */
|
||||
|
|
Loading…
Reference in a new issue