提交 9821636b 编写于 作者: A Alexander Graf 提交者: Tom Rini

bcm2835_pinctrl: Probe pre-reloc

The serial drivers now depend on the pinctrl driver to determine whether
they are enabled. That means if a serial device wants to be used pre-reloc,
we also need the pinctrl device pre-reloc.

Adapt the pinctrl driver as well as dts overlay accordingly.
Signed-off-by: NAlexander Graf <agraf@suse.de>
上级 6001985f
......@@ -20,3 +20,7 @@
skip-init;
u-boot,dm-pre-reloc;
};
&gpio {
u-boot,dm-pre-reloc;
};
......@@ -148,5 +148,6 @@ U_BOOT_DRIVER(pinctrl_bcm283x) = {
.of_match = of_match_ptr(bcm2835_pinctrl_id),
.priv_auto_alloc_size = sizeof(struct bcm283x_pinctrl_priv),
.ops = &bcm283x_pinctrl_ops,
.probe = bcm283x_pinctl_probe
.probe = bcm283x_pinctl_probe,
.flags = DM_FLAG_PRE_RELOC,
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册