summaryrefslogtreecommitdiff
path: root/drivers/gpio/bcm2835_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/bcm2835_gpio.c')
-rw-r--r--drivers/gpio/bcm2835_gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/bcm2835_gpio.c b/drivers/gpio/bcm2835_gpio.c
index 8b88d79..8dd7a28 100644
--- a/drivers/gpio/bcm2835_gpio.c
+++ b/drivers/gpio/bcm2835_gpio.c
@@ -123,5 +123,6 @@ U_BOOT_DRIVER(gpio_bcm2835) = {
.id = UCLASS_GPIO,
.ops = &gpio_bcm2835_ops,
.probe = bcm2835_gpio_probe,
+ .flags = DM_FLAG_PRE_RELOC,
.priv_auto_alloc_size = sizeof(struct bcm2835_gpios),
};