From patchwork Fri Aug 31 18:03:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 181029 X-Patchwork-Delegate: trini@ti.com Return-Path: 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 06A042C038E for ; Sat, 1 Sep 2012 04:11:21 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 00D832811E; Fri, 31 Aug 2012 20:09:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 RyGMbaWj4hYG; Fri, 31 Aug 2012 20:09:22 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EB3E328120; Fri, 31 Aug 2012 20:07:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CA19628084 for ; Fri, 31 Aug 2012 20:06:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 V4mFxWyH-tGs for ; Fri, 31 Aug 2012 20:06:25 +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 mail-pb0-f44.google.com (mail-pb0-f44.google.com [209.85.160.44]) by theia.denx.de (Postfix) with ESMTPS id 28481280CD for ; Fri, 31 Aug 2012 20:04:33 +0200 (CEST) Received: by mail-pb0-f44.google.com with SMTP id rr4so5184654pbb.3 for ; Fri, 31 Aug 2012 11:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=4vGqb9ftdtxqBUF0Xg+FHkcZ8yoB8si2lCfwG085QXY=; b=d7k6NS0d+lhCsrg9euYaEtEUTxA3CJzu9/vUi44/BypmJ4SlfkvPywUT2T6ZnCDAJ0 8CWXJH3Uac/XX0Xy/2mQmfCe9p5fHJ0MnUzBmpmtlezgR4houwSNmRQR9HUMygz11SOj XZNHtonNeNLfSsEtgs9clXWCJhoxTqL/tMU+D6Z+Z1hoNZ9zuD00lsDXRfV70Z4CYcks AhAX1ku+U64dybdBjIGF2V5HnGakwypzJIZnfwmpS6RjYEnFwi2EMljpYrXndiVxHsQu abI9xEXHOQnoTcr0Vz2YiYPj5KzJDLnduxsxRo02yKk9ObHjCXVjEKQJYl2cfNNmZU5Y ywGA== Received: by 10.68.217.202 with SMTP id pa10mr19055649pbc.15.1346436273027; Fri, 31 Aug 2012 11:04:33 -0700 (PDT) Received: from localhost.localdomain (ip68-230-54-74.ph.ph.cox.net. [68.230.54.74]) by mx.google.com with ESMTPS id sr4sm3887134pbc.24.2012.08.31.11.04.30 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 31 Aug 2012 11:04:31 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Date: Fri, 31 Aug 2012 11:03:14 -0700 Message-Id: <1346436196-27742-28-git-send-email-trini@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1346436196-27742-1-git-send-email-trini@ti.com> References: <1346436196-27742-1-git-send-email-trini@ti.com> Cc: Sudhakar Rajashekhara , Christian Riesch Subject: [U-Boot] [PATCH v6 27/29] SPL: Make un-supported boot device puts a debug instead X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Tom Rini --- common/spl/spl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index 14f7bdb..3aa0703 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -174,10 +174,8 @@ void board_init_r(gd_t *dummy1, ulong dummy2) break; #endif default: - puts("SPL: Un-supported Boot Device\n"); - debug("Found: %d\n", boot_device); + debug("SPL: Un-supported Boot Device\n"); hang(); - break; } switch (spl_image.os) {