Message ID | 1363650725-30459-45-git-send-email-sjg@chromium.org |
---|---|
State | Deferred |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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 A11B52C00B1 for <incoming@patchwork.ozlabs.org>; Tue, 19 Mar 2013 11:05:13 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 36C924A2EE; Tue, 19 Mar 2013 01:01:11 +0100 (CET) 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 rEcvnMoYX7TE; Tue, 19 Mar 2013 01:01:10 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DDC594A184; Tue, 19 Mar 2013 00:55:17 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 48E424A163 for <u-boot@lists.denx.de>; Tue, 19 Mar 2013 00:54:29 +0100 (CET) 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 EJEEoz+4-949 for <u-boot@lists.denx.de>; Tue, 19 Mar 2013 00:54:26 +0100 (CET) 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-ve0-f201.google.com (mail-ve0-f201.google.com [209.85.128.201]) by theia.denx.de (Postfix) with ESMTPS id D04DA4A0A6 for <u-boot@lists.denx.de>; Tue, 19 Mar 2013 00:53:24 +0100 (CET) Received: by mail-ve0-f201.google.com with SMTP id 14so640430vea.4 for <u-boot@lists.denx.de>; Mon, 18 Mar 2013 16:53:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=+9pJWeeWpyiPh2Xz2/1v0PsuokpsqP/+SW6hmYPaZhw=; b=YZELCfQAnCLV8PPw3I+7gpGWxupk9nDsHfelgKCtJL5gTLlDMOl6IiXqGpuPVu8COt 5IfFzd4XrB6cclmsWiF6uIpucMABEFYf1n/l8D0fd2arFqs6ldv0LCaEtzSWmci0CDqu iJo7ZBaMq/g9Azvl8lpYZDyUo2EyKRgXEHgokNA7aEJKn7ttDFcrOd80HTK0MQCBAS06 SUZ8LLzD13f6D1j1RpUyZ830UKx7I3F9H7iW0+TNqHE/57/rZJ1pp+Rcr2N050PbwkHC 47Z9SZfBqeNGNyNtzJrRgj8OlB0al9dbyDt+426zAy3QMiHoaU6pwPkSp5WKMoEUZvxC RkoA== X-Received: by 10.58.145.38 with SMTP id sr6mr15927200veb.15.1363650803666; Mon, 18 Mar 2013 16:53:23 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id k21si2189991yhh.1.2013.03.18.16.53.23 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Mon, 18 Mar 2013 16:53:23 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id 7A5B65A41B0; Mon, 18 Mar 2013 16:53:23 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id 594D3160341; Mon, 18 Mar 2013 16:53:23 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Date: Mon, 18 Mar 2013 16:52:04 -0700 Message-Id: <1363650725-30459-45-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.8.1.3 In-Reply-To: <1363650725-30459-1-git-send-email-sjg@chromium.org> References: <1363650725-30459-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQm6G2pikrnXw1kveGjPFUNOWeAFthyL+eXijBqCA/Rxm284f/ShoOFnq/EYFeXE6zjHQH5Ag+9xsc8wp2kFtr4geVN7YHTxTJ5jARzUoWT1AFSeTlxTn1d1HwzdwZK60hwdtw2baC4UvqVLVt0Mo1CDpTpfF5RcpoGkmn4wt16SGvUVAIySLdN1nqRD9essXeI8Aaqk Cc: Joel A Fernandes <joelagnel@ti.com>, Will Drewry <wad@chromium.org>, u-boot-review@google.com, Bill Richardson <wfrichar@chromium.org>, Randall Spangler <rspangler@chromium.org>, Tom Rini <trini@ti.com>, Vadim Bendebury <vbendeb@chromium.org>, =?UTF-8?q?Andreas=20B=C3=A4ck?= <andreas.back778@gmail.com>, Kees Cook <keescook@chromium.org> Subject: [U-Boot] [PATCH v2 44/45] sandbox: Allow -c argument to provide a command list X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <http://lists.denx.de/mailman/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <http://lists.denx.de/mailman/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de |
diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c index 2fcec8b..ae6e16c 100644 --- a/arch/sandbox/cpu/start.c +++ b/arch/sandbox/cpu/start.c @@ -90,7 +90,7 @@ int sandbox_main_loop_init(void) /* Execute command if required */ if (state->cmd) { - run_command(state->cmd, 0); + run_command_list(state->cmd, -1, 0); os_exit(state->exit_type); }