Skip to content
Snippets Groups Projects
Commit 8e14ba7b authored by Faiz Abbas's avatar Faiz Abbas Committed by Tom Rini
Browse files

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: default avatarFaiz Abbas <faiz_abbas@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent f69dce50
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment