From: Weijie Gao Date: Thu, 12 Nov 2020 08:37:14 +0000 (+0800) Subject: reset: reset-mtmips: add DM_FLAG_PRE_RELOC flag X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=8d6465ba5360c490f1ed5f86f7d3fdbf3b3c5fcf;p=u-boot.git reset: reset-mtmips: add DM_FLAG_PRE_RELOC flag Add DM_FLAG_PRE_RELOC flag for reset-mtmips to make sure this driver can be probed before relocation even if u-boot,dm-pre-reloc is not present in the dts. Reviewed-by: Stefan Roese Signed-off-by: Weijie Gao --- diff --git a/drivers/reset/reset-mtmips.c b/drivers/reset/reset-mtmips.c index 848425afbc..4e71d52558 100644 --- a/drivers/reset/reset-mtmips.c +++ b/drivers/reset/reset-mtmips.c @@ -82,4 +82,5 @@ U_BOOT_DRIVER(mtmips_reset) = { .probe = mtmips_reset_probe, .priv_auto = sizeof(struct mtmips_reset_priv), .ops = &mtmips_reset_ops, + .flags = DM_FLAG_PRE_RELOC, };