From patchwork Mon Dec 4 03:37:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 120488 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3947738qgn; Sun, 3 Dec 2017 19:39:51 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ/LqVDcIni7jDjtp+ZBCnthyJ416kB0p71RvUA3bzpLlMzHWXxvq0Ky/ARPU6E8RPNTmFZ X-Received: by 10.80.201.12 with SMTP id o12mr28296942edh.90.1512358791760; Sun, 03 Dec 2017 19:39:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512358791; cv=none; d=google.com; s=arc-20160816; b=GdX3YFkQQdDeZngn/sCBzXVl+2QeHwDtTpOrJuW5x+RoRDKGCBoKDDwH+ldEPxvl26 C7z0R8zpIWpTmXbbLy6o7ZCLgPvoSoIb3xBXV0Ksm0nPpJWYwLN8NOmkWjFbQhN4NKEz vKBnNG3qZkkqcqwSkhB2oFko2JI68P7PqxGlxo23G5DK/KDViaQgD2UxajbMcCZCsBNL aZa3cDSwFYY4+fvJ30IW51zcsgjjZG4mwFzA6vDK/nvZOVwOjZA5h2c20uqdy7NEgJL/ QD7GeKDA9p2BwSnM00f4GJh6c7t7r5SN9X93LNENrYWPAhkWwRqpwhAqBphmJScy0Vzp 7WDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=MvG+pXTo4aM9Kk/d5hOCvRSh4cEvH8rmLXs1tnDH2Wc=; b=MNkgbvZ8RI9O3GQyEXZ6J6TTp6uewc/FHd/iX6PA5vfwS++Db57xCU2zgUc7yQ6tz8 rnjUv8f95aQVP2jiZTNCVOVIa3iEglGqTAuptlzLgW6pN8KsT5JOUYSosWBn/fcsZpl+ iNb9V/MvAb1US6EDzyXFpN/isrdv/wn9e2h+oW4aZzzTumC39IsV7xHdT8RwE2dI8Nzw V6Zi0WtOouyI4BQq3KF7kYOh+Lc1JzQ+Knaq/usV4x9CwNcJ9ZRVS3ivMD95u5Z1YV5O hiiIJ6VeikuJY9n8synTv04jRge+drGOTmU66xgbhBX3oEZal3zJA5Oh8496YeW+unbq /fKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=sheEVwuu; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id l93si159669ede.535.2017.12.03.19.39.51; Sun, 03 Dec 2017 19:39:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=sheEVwuu; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 492E3C22035; Mon, 4 Dec 2017 03:38:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id C6BD3C22050; Mon, 4 Dec 2017 03:38:02 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 821FFC21FA6; Mon, 4 Dec 2017 03:37:59 +0000 (UTC) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lists.denx.de (Postfix) with ESMTPS id AA723C22016 for ; Mon, 4 Dec 2017 03:37:58 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id vB43bE4q022247; Mon, 4 Dec 2017 12:37:18 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com vB43bE4q022247 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1512358638; bh=dAF24NWJ99hlnOEZnN+0cDQHz6XwXH2+9XHL5FqaMBk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sheEVwuu0E2gjnjH8Uhh+mnd0GPqzg5I5p0brKtoZA3OOnqDD+94gVNVvDKPIQgSM YsUqB8/9kOXBT8jj/UvFR7sahePdKl9D4Kc6fJolvSOn7umLjROcn6/4JIehxKKImU ehyGnWLl3ZD64IUBGv6SO7VWmkqAXd1m5UifCFr51EdGNJ60jUJzLveAzAceX6/lup C27JRRbDoQTSrTUD6qJsRFQgTq8L9Uyi6oWr5DgdGqH2PcMXoMr6cSCBoEyui03zPr GP2JJntS6jTf1xJivFFFNvDjlwJ3VpjvjkM7KihPQbOpEFNimUJ3B17XHvzeTsrZ7k 2DrLSGJblZMsw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Mon, 4 Dec 2017 12:37:01 +0900 Message-Id: <1512358624-6309-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512358624-6309-1-git-send-email-yamada.masahiro@socionext.com> References: <1512358624-6309-1-git-send-email-yamada.masahiro@socionext.com> Cc: Marek Vasut , Tom Rini Subject: [U-Boot] [PATCH v2 2/5] Enable CONFIG_PANIC_HANG for boards without do_reset() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Calling panic() for these boards causes build error: undefined reference to `do_reset' They must compile do_reset(), or define CONFIG_PANIC_HANG. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass --- Changes in v2: None configs/cl-som-imx7_defconfig | 1 + configs/evb-rk3229_defconfig | 1 + configs/mccmon6_sd_defconfig | 1 + configs/opos6uldev_defconfig | 1 + 4 files changed, 4 insertions(+) diff --git a/configs/cl-som-imx7_defconfig b/configs/cl-som-imx7_defconfig index d37c82c..150396f 100644 --- a/configs/cl-som-imx7_defconfig +++ b/configs/cl-som-imx7_defconfig @@ -51,3 +51,4 @@ CONFIG_USB_STORAGE=y CONFIG_USB_GADGET=y CONFIG_CI_UDC=y CONFIG_OF_LIBFDT=y +CONFIG_PANIC_HANG=y diff --git a/configs/evb-rk3229_defconfig b/configs/evb-rk3229_defconfig index b226f66..21c1bfd 100644 --- a/configs/evb-rk3229_defconfig +++ b/configs/evb-rk3229_defconfig @@ -48,3 +48,4 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x320a CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_ERRNO_STR=y +CONFIG_PANIC_HANG=y diff --git a/configs/mccmon6_sd_defconfig b/configs/mccmon6_sd_defconfig index 97f7f9a..3f00ead 100644 --- a/configs/mccmon6_sd_defconfig +++ b/configs/mccmon6_sd_defconfig @@ -44,3 +44,4 @@ CONFIG_DM_THERMAL=y CONFIG_USB=y CONFIG_USB_STORAGE=y CONFIG_OF_LIBFDT=y +CONFIG_PANIC_HANG=y diff --git a/configs/opos6uldev_defconfig b/configs/opos6uldev_defconfig index 0149ae3..51ebc73 100644 --- a/configs/opos6uldev_defconfig +++ b/configs/opos6uldev_defconfig @@ -84,3 +84,4 @@ CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_VIDEO=y CONFIG_OF_LIBFDT_OVERLAY=y # CONFIG_EFI_LOADER is not set +CONFIG_PANIC_HANG=y