Message ID | 1441880948-18201-11-git-send-email-Peng.Fan@freescale.com |
---|---|
State | Changes Requested |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 0447314010F for <incoming@patchwork.ozlabs.org>; Thu, 10 Sep 2015 20:31:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 02E214B78B; Thu, 10 Sep 2015 12:30:54 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id beem09jbDopT; Thu, 10 Sep 2015 12:30:53 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 70F144B6E7; Thu, 10 Sep 2015 12:30:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0DB154B69E for <u-boot@lists.denx.de>; Thu, 10 Sep 2015 12:30:09 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Tqo6dtIfnL7 for <u-boot@lists.denx.de>; Thu, 10 Sep 2015 12:30:08 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0134.outbound.protection.outlook.com [157.56.110.134]) by theia.denx.de (Postfix) with ESMTPS id 89FE24B6E7 for <u-boot@lists.denx.de>; Thu, 10 Sep 2015 12:30:08 +0200 (CEST) Received: from BLUPR0301CA0027.namprd03.prod.outlook.com (10.162.113.165) by BN1PR0301MB0674.namprd03.prod.outlook.com (10.160.171.23) with Microsoft SMTP Server (TLS) id 15.1.262.15; Thu, 10 Sep 2015 10:30:06 +0000 Received: from BL2FFO11FD012.protection.gbl (2a01:111:f400:7c09::186) by BLUPR0301CA0027.outlook.office365.com (2a01:111:e400:5259::37) with Microsoft SMTP Server (TLS) id 15.1.262.15 via Frontend Transport; Thu, 10 Sep 2015 10:30:06 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; lists.denx.de; dkim=none (message not signed) header.d=none;lists.denx.de; dmarc=none action=none header.from=freescale.com; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD012.mail.protection.outlook.com (10.173.161.18) with Microsoft SMTP Server (TLS) id 15.1.262.18 via Frontend Transport; Thu, 10 Sep 2015 10:30:05 +0000 Received: from linux-jyl1.ap.freescale.net (b51431-11.ap.freescale.net [10.193.102.108]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t8AATPbu029949; Thu, 10 Sep 2015 03:30:03 -0700 From: Peng Fan <Peng.Fan@freescale.com> To: <sbabic@denx.de> Date: Thu, 10 Sep 2015 18:29:07 +0800 Message-ID: <1441880948-18201-11-git-send-email-Peng.Fan@freescale.com> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1441880948-18201-1-git-send-email-Peng.Fan@freescale.com> References: <1441880948-18201-1-git-send-email-Peng.Fan@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD012; 1:sLXuT7I0ZCutK9mMsT/wQN4PcOxqfdFjRSoBbSaZgjTTQ+pfmW1hE2uB/Fsdw3ub5ZkPqhOKoyZuF/72OJTQMhnrocq3fLLfyudR1LJH6/7msD0As+PzqAPRKcBxRmiKOFbZHWcm/hD+4GHCMJ0Rfop6vPl39CDZWDEdPJR8SxHfy1vPXyYVe1N7QHzobYzezV7E7apaxCxabX3BQZ91PkB+doIN5LFeR4EwNOrln2+WUH5XKRav0ljT7YWyU5ZfCcnugF6so6YSqRn3mFcqbUirTdHtiljXJWU44CgfDJNkjERuflDI87cRscfJQLLaTmVgeESVRgS7cx9zhk3zCu5afWPiItwAek1gn6xuZlFjte6SRAWv5ZWHlq1TY3AVClq32fyBBcgI2HaG4DgjPA== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(19580405001)(48376002)(36756003)(47776003)(92566002)(4001540100001)(97736004)(50226001)(5003940100001)(81156007)(64706001)(77096005)(85426001)(104016003)(110136002)(2950100001)(5007970100001)(50466002)(68736005)(106466001)(50986999)(87936001)(6806004)(76176999)(5001830100001)(46102003)(105606002)(19580395003)(77156002)(62966003)(5001860100001)(69596002)(86362001)(11100500001)(229853001)(5001960100002)(189998001)(2351001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR0301MB0674; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0674; 2:Ve6zV2X6igLRg+rA+t+4S6cwXllPKytgtoemIHiquMKirmfkKuBcHkHr4YTYffmJjpSEeclLFf24BYeIHYL0CCtM7HrVexkZUMEOjKWpLwd8HLXxp6h7zpvNj0uVltnGNkkJ+tGOYfyiZROmpE+dQbljC4s2GHukABu7NS+rkb4=; 3:VIONvI+E3QYv2vY2BjYI8GUVP6h+rl1Yo/DVrdG3Reb1xCV69nNYctQRN3xRP9j1jHR6Sn4T/Ex+VxKu2qfV7hF9r3GIOGb99v2XNKoMSrQZTg7wnqreIBDWBgfiUByb3NjPd30yZaMDnblhLssEMolfj7FltCUJtjNQUNbOmptNTkSEd3Ncbb2pm4rjJ75Ka7P1gG5JnK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ft-Antispam-PRVS: <BN1PR0301MB06745BA669429AD63C185FD882510@BN1PR0301MB0674.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(8121501046)(3002001); SRVR:BN1PR0301MB0674; BCL:0; PCL:0; RULEID:; SRVR:BN1PR0301MB0674; X-Forefront-PRVS: 06952FC175 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR0301MB0674; 23:ByDXg2bcvTIbLGZjjrzWgdZGL4bp9O31YC0iGxZ?= =?us-ascii?Q?xpPln+IEvrBzSURBkQnyApKwKQ0NaJ8olba4cuPeql/cNg3zAhQk8OPkoOjS?= =?us-ascii?Q?sRhphSvJFj5L/47dgh68BbKJUeNHL4PE3eZ1MkHgv5zQFeOni4GKu7G8MtCb?= =?us-ascii?Q?dB5Bn19TVDHkNlYZdrLd+xL/spxN7Bl3wD2TvzqGon049QD96xi9AaFaLa2+?= =?us-ascii?Q?fyMnQgkRuU70sohrOV/tOj8Y6Wo4XyBGvZ7PU4FCoiH3h2gCE/kNxZAf/uW3?= =?us-ascii?Q?YKPdniTxPHCSat3LQeDQUzkAer2+BboT9tFMRWkJciG0dWFWLkumK9q6xD9w?= =?us-ascii?Q?GeEaIN/CaLMiVJczld7bcRSiMAaH/+wOzBR3Mcfmq2Q0fnQyiCHlsLKcJqMv?= =?us-ascii?Q?t/06royMje3k9/a6PQQG3sxYcfS4ZwdaRVE4LS592b3d9NEdF+xdZiOtPc/g?= =?us-ascii?Q?AAcbZ1rR2+LSzvW7OizADQc3ylzWT2CVdHOu4nEgSMcJin6SP44pfSBYPdHt?= =?us-ascii?Q?126urMCGJWCuO/kboyL4k4XQffBKvDtocx5dP+G+ZRki+R1MM8N86JjKYcEf?= =?us-ascii?Q?7Ssx5hnJugtW5O6KHxMVit9I6HgXIKAdNfCOHaoyywoxmsXpqeId84WX8mZO?= =?us-ascii?Q?IHH/TJWcPou1tw094M0zZSsg0mWos2BOubT2jQFaxQvV2grQLdf/6J8dD8C8?= =?us-ascii?Q?668uPVPhrdRdcncPZu7G5i0y6oXtcRctL5BaWjA8mmeHylVVquy26g7JHLnA?= =?us-ascii?Q?F/dI9A0YdvK+foS2IXZb311giWLYpvr6aQsECYA2CXkDt1xgIDJQQ3wfXiyn?= =?us-ascii?Q?8hPpWx+f7SMy1vE9EGyM0ZwP4qrQLxyAO0KQuj68YKEc04BerRputNCcNyHY?= =?us-ascii?Q?3o4j6OA90HXS1nU3T1GzZbJggFdXtktbj3l1U4uR/6Rc0EBjGPkWEwhXTUPe?= =?us-ascii?Q?90029Mwoji0IbojoMBvxT0GiGOY414oaDhFoxelU08/I2VH3UJ9vv0UTUbe4?= =?us-ascii?Q?nvdmpNUK5PKw8knEbx1iogq3bEV3a0jkQf2xnQ1FxpB2zeku7bC75OwjSKVf?= =?us-ascii?Q?7daxZEl+Rqc91zAbv9pS+G9U/VVW4NNZgYrTtOz/2s3WP7V2ccbhrS2lEhVk?= =?us-ascii?Q?EzNH9gvog5vysy0AbLJGiTDXVzMmucAeg1/oOFPbEhWu1mjDfYGKrJoD47md?= =?us-ascii?Q?fahxI7nPKSlElFlRUtxytVihzgU/MF8fmPoQN?= X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0674; 5:Q8mGqUHatPWqO6OP1d0FosaPcUmWTQUYgZfe+h4QRMifq+erEyBhxIYdfKsSstRW3eHVNsSmd6U5gLePPLneRQc47aNDpsHdMIPfVuhE3xTMMKwLH4L3qs5VsK6dmS3R4mYX26IVAR2X34WadzVXmA==; 24:INq+2dhOCPpnQlg5WHO1DSC8bdBJ8PBFHAp9At5xRRXElUJpJLXwsxA8PsYCpBUJpYStl35KwAYET42uJ10+xqYRgtBhbifdYgCJDbsucdE=; 20:qwfeLXZWHEkAvXUgXXXoKjLtEZWsMJ0G4LdJd48cgDX0hrPJpYp+BZzWQdJ3BGRlCYUmwci2ZyjZY9fpSxFfWw== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2015 10:30:05.7644 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR0301MB0674 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 10/11] imx: mx6: implement reset_misc X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <http://lists.denx.de/mailman/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://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: <http://lists.denx.de/mailman/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index 8ad8da8..df18ca3 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -521,6 +521,14 @@ const struct boot_mode soc_boot_modes[] = { {NULL, 0}, }; +void reset_misc(void) +{ +#ifdef CONFIG_VIDEO_MXS + if (is_cpu_type(MXC_CPU_MX6UL)) + lcdif_power_down(); +#endif +} + void s_init(void) { struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR;
We need to power down lcdif before uboot reset to make reset can pass stress test. Or system may hang. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> --- arch/arm/cpu/armv7/mx6/soc.c | 8 ++++++++ 1 file changed, 8 insertions(+)