Message ID | 19529e6bbfdaf4da67f6e8769f9186471b06bc31.1604047991.git.weijie.gao@mediatek.com |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=mediatek.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=mediatek.com header.i=@mediatek.com header.a=rsa-sha256 header.s=dk header.b=Vd7QSiL1; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CMy0b2JQbz9sTD for <incoming@patchwork.ozlabs.org>; Fri, 30 Oct 2020 20:38:07 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 302C082586; Fri, 30 Oct 2020 10:35:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=mediatek.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=mediatek.com header.i=@mediatek.com header.b="Vd7QSiL1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 37BC3825AA; Fri, 30 Oct 2020 10:35:29 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MIME_BASE64_TEXT,RDNS_NONE,SPF_HELO_NONE, UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from mailgw01.mediatek.com (unknown [1.203.163.78]) by phobos.denx.de (Postfix) with ESMTP id 8E806825A9 for <u-boot@lists.denx.de>; Fri, 30 Oct 2020 10:35:25 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=mediatek.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=weijie.gao@mediatek.com X-UUID: 5ad2c82114c64744a83cc6e25d5946d9-20201030 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=xg9FHVysOs5DYTWnqcds1WEbw7qUlBh54kB32jmUhXg=; b=Vd7QSiL1R9nhfx1gK+elBQ/HSSYt9MRJpZXhAuPzq8xF/YBCxnM/gbxsgR0eHezc0zCCx0vXaUUQ2bKunsWtBjNppl4JZ6vhpEb2noAlpPph8L6MHMIXOqqZFvJFBKiksp2wWnq8XMpbRmaEi0FTlrSA6qklPqVk0iB9OgADpnQ=; X-UUID: 5ad2c82114c64744a83cc6e25d5946d9-20201030 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from <weijie.gao@mediatek.com>) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 143772750; Fri, 30 Oct 2020 17:35:22 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 30 Oct 2020 17:35:21 +0800 Received: from mcddlt001.mediatek.inc (10.19.240.15) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 30 Oct 2020 17:35:21 +0800 From: Weijie Gao <weijie.gao@mediatek.com> To: <u-boot@lists.denx.de> CC: GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>, Daniel Schwierzeck <daniel.schwierzeck@gmail.com>, Stefan Roese <sr@denx.de>, Stefan Roese <mail@roese.nl>, Weijie Gao <weijie.gao@mediatek.com> Subject: [PATCH v2 20/21] reset: reset-mtmips: add DM_FLAG_PRE_RELOC flag Date: Fri, 30 Oct 2020 17:35:20 +0800 Message-ID: <19529e6bbfdaf4da67f6e8769f9186471b06bc31.1604047991.git.weijie.gao@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <cover.1604047990.git.weijie.gao@mediatek.com> References: <cover.1604047990.git.weijie.gao@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 31C204DBFC04E605D1279C17A278D9BAC2DC2AD08E985293CBB338E8B44C873D2000:8 X-MTK: N Content-Transfer-Encoding: base64 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
Add support for MediaTek MT7620 SoC
|
expand
|
diff --git a/drivers/reset/reset-mtmips.c b/drivers/reset/reset-mtmips.c index bc20e3335c..0d6a446465 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_alloc_size = sizeof(struct mtmips_reset_priv), .ops = &mtmips_reset_ops, + .flags = DM_FLAG_PRE_RELOC, };
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. Signed-off-by: Weijie Gao <weijie.gao@mediatek.com> --- v2 changes: new --- drivers/reset/reset-mtmips.c | 1 + 1 file changed, 1 insertion(+)