mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 06:46:00 +00:00
pinctrl: mediatek: mt7981: init device before relocation
Upstream kernel linux define pinctrl for uart0, hence this pin group and pinctrl driver is needed before relocation. Add DM_FLAG_PRE_RELOC flag to init and mute mtk_serial error on early serial init. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
e499d5d430
commit
63d0f683ef
1 changed files with 1 additions and 0 deletions
|
@ -1050,4 +1050,5 @@ U_BOOT_DRIVER(mt7981_pinctrl) = {
|
||||||
.ops = &mtk_pinctrl_ops,
|
.ops = &mtk_pinctrl_ops,
|
||||||
.probe = mtk_pinctrl_mt7981_probe,
|
.probe = mtk_pinctrl_mt7981_probe,
|
||||||
.priv_auto = sizeof(struct mtk_pinctrl_priv),
|
.priv_auto = sizeof(struct mtk_pinctrl_priv),
|
||||||
|
.flags = DM_FLAG_PRE_RELOC,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue