Message ID | 1441073150-15143-2-git-send-email-scottwood@freescale.com |
---|---|
State | Superseded |
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 B653714076B for <incoming@patchwork.ozlabs.org>; Tue, 1 Sep 2015 12:06:24 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 773B34B77C; Tue, 1 Sep 2015 04:06:21 +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 yVdR11uus7Cb; Tue, 1 Sep 2015 04:06:21 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D623F4B7AA; Tue, 1 Sep 2015 04:06:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C6E384B759 for <u-boot@lists.denx.de>; Tue, 1 Sep 2015 04:06:12 +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 n0d0yrWAlBN1 for <u-boot@lists.denx.de>; Tue, 1 Sep 2015 04:06:12 +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-by2-obe.outbound.protection.outlook.com (mail-by2on0129.outbound.protection.outlook.com [207.46.100.129]) by theia.denx.de (Postfix) with ESMTPS id 2FCF64B758 for <u-boot@lists.denx.de>; Tue, 1 Sep 2015 04:06:11 +0200 (CEST) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=scottwood@freescale.com; Received: from snotra.am.freescale.net (192.88.168.49) by BLUPR03MB1473.namprd03.prod.outlook.com (10.163.81.158) with Microsoft SMTP Server (TLS) id 15.1.256.15; Tue, 1 Sep 2015 02:06:04 +0000 From: Scott Wood <scottwood@freescale.com> To: <yorksun@freescale.com> Date: Mon, 31 Aug 2015 21:05:50 -0500 Message-ID: <1441073150-15143-2-git-send-email-scottwood@freescale.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1441073150-15143-1-git-send-email-scottwood@freescale.com> References: <1441073150-15143-1-git-send-email-scottwood@freescale.com> MIME-Version: 1.0 X-Originating-IP: [192.88.168.49] X-ClientProxiedBy: SN1PR0501CA0039.namprd05.prod.outlook.com (25.163.126.177) To BLUPR03MB1473.namprd03.prod.outlook.com (25.163.81.158) X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1473; 2:hcj0VRQouSA/SRTW5szvQGQ34xciAfcn16zdGx6WPpzDnx57KA134c2UbD0KuYskgZiNZ3e/bVgcka2lZDNCJUirnAKGPO04ZINO5lhxghMUpSqun7li28WivOuKYZXAOae1V5pbr8oGA41S6Jq20MdQCMNNQMvoF1zdLAAKfVs=; 3:Yr89uXvBEjwJGYL+WMXeiMrSKCQ4TeqvkmXN8eLenOJEXTu+GDcrmDtpalHfpW/hbPkAt0Ni7EaNijSmT7bL/Fp+tOUYWJ4aQPvDpmO+sog1r0M5VPKqNE6ElYpLbzf5Qd9SNtT49E2A45xyoVKk2w==; 25:fPWYCEV4AQI9fZgX/KS5zpw8hk8RSyv/5smXMQFbDu5SGJ8kdVsICuNquS2bO0rB7YPnWrHUoWFwSXvov32GwsP8PT2r62tkF5yMqNs7YxHLyQmIrZlWWEs/dSRsPlZ8i54A3LTZL5dWCD8bAgoMG56/8AWfGe6ay7Zoo5y2AU9ysG0k5helSNSvnLM5/w8m72h7tR4xUmQYs18wyexzKLuwNt+IDZFBOvjyZmh9i/qoylMI1THAADql9KpiWyRAy7zXk12MXpC4OgVXr3M+5w== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1473; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1473; 20:w/8XQjl1YuDlhMTwqq98aHMjluJjfmgBgguvjarbZSb3WDJGyfkC3Is+PXWY2kzhOjm44RnEt3MpuMwNDdygCaRAelcEKEVI0tEsKFg+RgtqvZtMBejbQTC5YC/RKkeJCH+L6fQxyHJRpf9C0Hgf7vBDvseI8rMS2YhcW8NDFx98m6SBS0WW8b3IkqnVC2fE/94nhMxKvQ1+94GQOsXpipJhqKKMKXdVOfqQow16ikiuCdxxOtENumy0Mhf44ahCeX5SmTl22BotslUfxoFV1Uka+TQBEmzDQTZhZkLhJ8BfpO9Fhmo10g9YhZj1kLhOOgcY33TLiJeCIuAqd4BuXGr7AO4Qolz/offdyC/9pPZW1gKdnNFM8Xa7FoTR4OiQRDNOOMuOjaFn5yZe4+jmzv68S9muDLm+4xi4jY2asYn9YPz7LPXTE3GEZAk8l2AFaXYbfzQjSrePpvJDKJN+k7RKY8Wy2YvZa+mL/oC3wYso1ErUKydjh3Id+Cq7NT15; 4:kZexHDDswz1yQaZIH0hBkkkmj+E7dmmk6xoNcbdItTgp2Sf6se40C0u3kap71yUmHYH6HjB/XOlvbkutkfY/vBu7VtGgk3I7eAEZBJbXWkSgEONmkr0HSPPZhk1u1DjNJxHsbonzq6hp+gRZF7UnDOJk8oy+Fol2rBS0ZFKSLGG3S1Z+CkcX79Uciu5v4uY2zQki0cYRJnRA+CPD0jYEXaSfBEPBXUmCwZIevwjnt9f7Dah8cvY2HosVbYHVyUf8Aighw5p7x8m94BJC7IxEYmPrjxq5Jd/fK0TUVNEPg6aEWTnhoym5CI+TXvFu0HGLuVD+MSn+go40Ot/1HvRnmQ== X-Microsoft-Antispam-PRVS: <BLUPR03MB147348454F30BD3ECA917D3EB56A0@BLUPR03MB1473.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(3002001); SRVR:BLUPR03MB1473; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB1473; X-Forefront-PRVS: 06860EDC7B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(62966003)(48376002)(101416001)(5001860100001)(5001830100001)(50986999)(2371004)(4001540100001)(66066001)(64706001)(87976001)(47776003)(92566002)(5001960100002)(50466002)(19580405001)(110136002)(189998001)(5003940100001)(2950100001)(4001450100002)(19580395003)(36756003)(46102003)(97736004)(77096005)(76176999)(81156007)(77156002)(33646002)(50226001)(106356001)(86362001)(68736005)(40100003)(229853001)(105586002)(5004730100002)(122386002)(42186005)(5007970100001)(2351001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR03MB1473; H:snotra.am.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: freescale.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB1473; 23:D4iAiv2HKE9hurFByxlJK07ec6EXDn9b+en7mpWiy?= =?us-ascii?Q?Yw27ON2dmO8ZVACMBVFK0S8PXjeI34MsGOeURtQONyjCV4am5qf5eMH6NHdf?= =?us-ascii?Q?taBS0U08wiq+vrlAlgmo7drbG2Hs4sxEVchoz8KgBd3N8vw+9SJXr+GyVkDB?= =?us-ascii?Q?j4sp2z4FcY51YOPybygC8YLJGT/qadK6mgducFmIBTEg5d69Mkfe+tQI4mVH?= =?us-ascii?Q?U3axyUwyhSWkp0v8hvnfST1S7tOy6hhQYwSq99f3W9ifPq6tpUXSUh+RC1qv?= =?us-ascii?Q?OSSwKtJ8d9kfD1pA4SkjtCXO8KD4m5HwpBjC1yy83KRLoHChPMlm4OyGr9ee?= =?us-ascii?Q?rPUk4y8Y38UwMl7TuFFk/6zK8P+i8iQf+kvb0+B2WDgcyuV4LVtwlmsCclmE?= =?us-ascii?Q?+vU35FeEit0l3MVdUhEbJOJhNHgrqpBMOoNMgJdUnyVjzgxhS7K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bSYjcnlADhuyIdTvs3NHNEpfOkIXCTPKxZRvEK8u9wc+umGsBYPBHFSoiXQMI+vFliZwCoRNLpqA1UOJ2QGKu8ftEOmGKh26burjaVkEHomKKlyg==; 24:gGkEsKMRXy+D45cex2OroodcXIJdKVpBqOPoLhzwvRclG67I5sYJGOMTS3oQhrUThdnkXbaoCP3TFwodbTL88r+xhibpGEQ+z3XGwBTTCWk=; 20:GQoEGNNpOt83mH6NLQifn8tSXGbq/nNljqlJLwbMmo5m6HmKjS5/h4XdFJBy8r8C7JV99LggJuYoo3hTzI7Ecg== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2015 02:06:04.4657 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1473 Cc: Scott Wood <scottwood@freescale.com>, u-boot@lists.denx.de, Simon Glass <sgj@chromium.org>, Kumar Gala <galak@kernel.crashing.org> Subject: [U-Boot] [PATCH 2/2] fdt_support: Don't panic if unable to perform stdout fixup 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/common/fdt_support.c b/common/fdt_support.c index f86365e..6052c77 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -308,7 +308,8 @@ int fdt_chosen(void *fdt) } } - return fdt_fixup_stdout(fdt, nodeoffset); + fdt_fixup_stdout(fdt, nodeoffset); + return 0; } void do_fixup_by_path(void *fdt, const char *path, const char *prop,
Currently, using fdt_fixup_stdout() on a device tree that is missing the relevant alias results in this: WARNING: could not set linux,stdout-path FDT_ERR_NOTFOUND. ERROR: /chosen node create failed - must RESET the board to recover. FDT creation failed! hanging...### ERROR ### Please RESET the board ### There is no reason for this to be a fatal error rather than a warning, and removing this allows for a smooth transition on a platform where the device tree currently lacks the correct aliases but will have them in the future. Signed-off-by: Scott Wood <scottwood@freescale.com> Cc: Kumar Gala <galak@kernel.crashing.org> Cc: Simon Glass <sgj@chromium.org> --- common/fdt_support.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)