From patchwork Thu Apr 21 05:43:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 66291 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp2854920qge; Wed, 20 Apr 2016 23:06:30 -0700 (PDT) X-Received: by 10.194.133.161 with SMTP id pd1mr13985404wjb.66.1461218790278; Wed, 20 Apr 2016 23:06:30 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id k133si1737387wma.36.2016.04.20.23.06.30; Wed, 20 Apr 2016 23:06:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id ED8A5A7940; Thu, 21 Apr 2016 07:52:27 +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 fQqSOMA1bKxi; Thu, 21 Apr 2016 07:52:27 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3A336A7ADF; Thu, 21 Apr 2016 07:46:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 78967A77F6 for ; Thu, 21 Apr 2016 07:44:18 +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 WR8tjjnrUSke for ; Thu, 21 Apr 2016 07:44:18 +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 conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by theia.denx.de (Postfix) with ESMTPS id 00582A785A for ; Thu, 21 Apr 2016 07:42:40 +0200 (CEST) Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id u3L5gQcJ010871; Thu, 21 Apr 2016 14:42:33 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com u3L5gQcJ010871 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1461217353; bh=XfwxQR260PHCATjWMDWGYH3d5hoi6LV8hchhRWu/6EI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VGT81FDYQNNSQ+OM1jf71dJEPCBN5fY6bCdF+ogMT4dEBuLJfbdB7PyJrDV/lOyH/ xJV4rMb4BQLMOBmVmx9s5KgA0HNgQJscscIeKjEU1otSq7ue0bDwdWR/dD/SWU16o+ FFfyo1vHIV6q/javUMXry4wzDn2SWkixa0wYvt1WCR578veyKUmjin9zSsxJUdvR5w v/eLjvrkajwU41ylvd6oRG3PQxBkPpmlpHpSGKaGIj138FcrBAoGYclXgX+BX0Ch9e BsoJeyaZ8FTaC6+01CMT3/PnPDEFma4A6WfaJJdG3vnYXnNlOn7dWp/8/YTbFZ950g GxjTWxbtvw2Hw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 21 Apr 2016 14:43:16 +0900 Message-Id: <1461217402-25430-8-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461217402-25430-1-git-send-email-yamada.masahiro@socionext.com> References: <1461217402-25430-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH v4 07/13] ARM: uniphier: carry on booting for Unknown boot mode X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 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" No need to stop booting U-Boot even if boot mode is unknown. Setting the "bootmode" environment is only useful for booting Linux Kernel. Anyway, U-Boot has already booted by this point. Signed-off-by: Masahiro Yamada --- Changes in v4: - Newly added Changes in v3: None Changes in v2: None arch/arm/mach-uniphier/board_late_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/arch/arm/mach-uniphier/board_late_init.c b/arch/arm/mach-uniphier/board_late_init.c index 6e2008c..591b972 100644 --- a/arch/arm/mach-uniphier/board_late_init.c +++ b/arch/arm/mach-uniphier/board_late_init.c @@ -85,8 +85,8 @@ int board_late_init(void) setenv("bootmode", "usbboot"); break; default: - printf("Unsupported Boot Mode\n"); - return -1; + printf("Unknown\n"); + break; } uniphier_set_fdt_file();