diff options
author | Faiz Abbas <faiz_abbas@ti.com> | 2018-03-15 18:41:34 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-03-22 23:32:30 +0300 |
commit | 8e14ba7bd5242ec1e92367d1cea67b66f8b958c0 (patch) | |
tree | 77da2471b3d3742f3c87aa0d05f17a997bd46bc3 /drivers/gpio | |
parent | f69dce5081396a83b87d6df2693764b99466a18d (diff) | |
download | u-boot-8e14ba7bd5242ec1e92367d1cea67b66f8b958c0.tar.xz |
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/omap_gpio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/omap_gpio.c b/drivers/gpio/omap_gpio.c index 7243100219..559f29b801 100644 --- a/drivers/gpio/omap_gpio.c +++ b/drivers/gpio/omap_gpio.c @@ -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 */ |