From patchwork Wed Jan 10 01:45:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 123990 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4700203qgn; Tue, 9 Jan 2018 17:46:57 -0800 (PST) X-Google-Smtp-Source: ACJfBosVaRoj5+jQ0tXT2r8dkMxCUhpwdAUNbI1mdmRZ3796Kl2Fb1Oylg5oOpYIQCNfxn+BFpQ4 X-Received: by 10.80.141.15 with SMTP id s15mr22860921eds.234.1515548817404; Tue, 09 Jan 2018 17:46:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515548817; cv=none; d=google.com; s=arc-20160816; b=x4xqlpoON2xxGKtLVMtCXMeOS4R8jRXFcJt+jyJKYRF8aE0Phc+y2PfKYgxrMPMJo3 3K0x+NlUEEYFhRQdiZEgGqOXh0tRRE76AQIFBlh84Tb8rW0oZGERyOMsfSRZrquZUcxD mX7HW0ujxeajuyW7td9lZdpopcSF7RXh4LYfz1WkCH/58BjWPO6yDNUHXSunohAWc10X az7fjq9Xn9zNWdgFT5x2ia6TF7WLhx0CfLffdkWda5SRnVi07f1yEJPEyVdRsyk5IdN0 aEcc+KS6ogOHhw7lTB/zrPgoUCfwsJ412Kvd7D3GJ5UXGsd1DwdsW4+gxq1hRamPEv4E 2V3Q== 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=er2CAcVtt/Laa5OIyOejMBa6azor5qET0eRTOnSJRvk=; b=WOA/xq26OIb0LlvGPigLPHDvMmV+Icil/VIUFBfdA8GM7kuNwgrR3Rqh5+jaSVl2A8 7f+SPSieMVgCRNiOp7yN8S7cjjrF+V/dMmr3XrCQIuKTOXl9nyTmFcix1SzKwGO5wJ6K IrsoRJhOzLackjshKty8A+JhPzgKI2Rl7P7zxLRIPvdwg/7UHhprvcei6jM9T6KxeY3w MD2spCYIqPBfjZQYDyGVNx29WU3mIz1ELWL2qoWy+rivjezboSKdll+KiYsS77cCaHdn ajGLGPin5b4n2JUINcaBaenVIKIRZYzx6XhhRqhmX00QL/GDjShPaqYroikcgktJJvPC EDOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=xoJ/LaA4; 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 m13si5430434edd.71.2018.01.09.17.46.57; Tue, 09 Jan 2018 17:46:57 -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=xoJ/LaA4; 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 0264FC21F58; Wed, 10 Jan 2018 01:46:17 +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 96D51C21DF3; Wed, 10 Jan 2018 01:45:58 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 71998C21C29; Wed, 10 Jan 2018 01:45:56 +0000 (UTC) Received: from conuserg-11.nifty.com (conuserg-11.nifty.com [210.131.2.78]) by lists.denx.de (Postfix) with ESMTPS id 5BB08C21C29 for ; Wed, 10 Jan 2018 01:45:55 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id w0A1jUkT021339; Wed, 10 Jan 2018 10:45:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com w0A1jUkT021339 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1515548732; bh=CoK+7Z+Or9KDbMSqk7z2y9tZVDCrH+EwG4yw+7VTUyc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xoJ/LaA4Q00Ybi1gQSYkQ4U1VrwYjdORMur4sCJ8A7ZGpNJjSSaqLFBarLHKNO/uh lw+YRSz0jqxuGd4yZ3u94Ht0mUlDB7W9YHUCKwbGriFtaeyjpsxMkU6ILto/CThTL6 yLvw62YkCohOtFviwE7rB8Z/q8+U8FEtjHIGIbcXkgZIWRrvyIoOdLByrQwOCh0Xp/ hoNktVFGJmap1dzpMREqvds/cqzMjEp8sRY4guPNXCP9bkoRTxl2t15EdDxbF0l9Fs Qk+ezgu0gUN5xk50+ci5lUR1oEtwLVSItaE69QB8BV3eB9vTSH2ic9l0+ivK0yBdsH QeQcSMDAJD/bA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Wed, 10 Jan 2018 10:45:19 +0900 Message-Id: <1515548724-31869-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515548724-31869-1-git-send-email-yamada.masahiro@socionext.com> References: <1515548724-31869-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini Subject: [U-Boot] [PATCH v3 1/6] 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 v3: None 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