From patchwork Tue Nov 28 12:23:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 119851 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp3022253edl; Tue, 28 Nov 2017 04:25:54 -0800 (PST) X-Google-Smtp-Source: AGs4zMYwrS6Zjgb4Yj3Qj+DseidPhJrKGWknj3jVeH7p6tt1ITuBxMVunihVKBBK59WuXReEGOpC X-Received: by 10.80.177.1 with SMTP id k1mr2439327edd.41.1511871954283; Tue, 28 Nov 2017 04:25:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511871954; cv=none; d=google.com; s=arc-20160816; b=QWekpiUuohuX4Gmw2hG4TWpXHKhPFtRMBmv5gH/e/qeIIL+nfCZeyKq2IdLFW8C3f5 9i5Ss4Lo08Mzt7Tq0Rols//dbw5svDrDM/nxO0N3Y5+UrIX/LpwgR9I2BM7TlhaVD2m2 GWpyr2feuKLfSrAA9QcSrCd+8CicwvSjKCe0SC3bDot3tpzw0uEJB8sp3eVgZ7/RAg3u ROYa1jDealHto/y2IHGjEbEAxBm+cuYptiQfwCZSY+DVt6aAMucWzpdKYRbwqVIqujor dBfTqyTen9LzrRe5tKAJAArOg+Y+f091a27tAJSyf6DM75wKGoExeNkyIHC4p4aKU/EK LekQ== 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=blFPH6k3TKtPsR6vwq0E3ltT3ZfL8GsElBwJL44zc9M=; b=HdHiTmE3DRiMfU9Vo7a120VuzzcPf1QcbRh90YQpVnkL3sqo8e/LAbCC7JsJ16kOyU uPQ/rmHaQozeSg6fCXCRfgo4Yy95YJRgXIn+P908qgaI7xUc7CVliGgl55vIw1r1WQod vYp3PUaqBr7I/vjjVSJco9wadNHztOPkqWSkn4f4TUDe6kNFWZADdIspP+y8kjrB3HSr bcmO3xvxPsim7AhDTTA34tSrSKIcjoHNC2Ho6Wovk/OSiDieVc1yJxBsy/ep0WjqIf9m iYlX6gKy6Y8NHIP5MBOpix/RbM4NLm4UBdQ2MK9VsqJh5lw5ErwHIdrqzSNyEU9KnDfE WcdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=h3ycmlGP; 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 v19si3764785edd.103.2017.11.28.04.25.54; Tue, 28 Nov 2017 04:25:54 -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=h3ycmlGP; 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 BCEBBC21DC1; Tue, 28 Nov 2017 12:24:58 +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 CF836C21E4D; Tue, 28 Nov 2017 12:24:22 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 99AF7C21D75; Tue, 28 Nov 2017 12:24:20 +0000 (UTC) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lists.denx.de (Postfix) with ESMTPS id C5147C21DA0 for ; Tue, 28 Nov 2017 12:24:19 +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 vASCNT1q005103; Tue, 28 Nov 2017 21:23:34 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com vASCNT1q005103 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1511871815; bh=udof5InlgGybZ9ZZtIEJbRn1mDtTgHiJc7+BI7XPQ60=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h3ycmlGPzi0eoyW5iPma7J7L25erSoVcAFzt1nbVv3IhYDGfij242uyDBbfnvz056 bLmqNOrD5Fh9MIHLzKFpro0Q1DtP6lYdfRH9RKKCtR1yVxlvBNYNbsBtzqfE817fZ0 FrEUDhTEP+BKXmg2qD6oV3iFzI2fUPW3bWJNPERiWByzZo4LY94BT+snpXvw1bZKyg vLGyXvQ0tPDajy4VpbSZjCWnmWc4S2Px7MG+9tKkz/jMVXPOUAdftaW0SekXb6If/e 4kfht7DfnvyPHJTBaf/vimzm+rHl1bYOGT9OVrRL9MfUQdOFNxovJ1E/6pAe7jh3cG Ul9HpVFc7Y7jw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Tue, 28 Nov 2017 21:23:21 +0900 Message-Id: <1511871803-10385-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511871803-10385-1-git-send-email-yamada.masahiro@socionext.com> References: <1511871803-10385-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini Subject: [U-Boot] [PATCH 3/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 --- 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 01a20e6..dbc4dcf 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