From patchwork Thu Apr 3 06:01:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 336526 X-Patchwork-Delegate: sbabic@denx.de 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 9552F14010A for ; Thu, 3 Apr 2014 17:03:07 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0EAF14BA72; Thu, 3 Apr 2014 08:02:53 +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 RKEVGIYJs98w; Thu, 3 Apr 2014 08:02:52 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 31B1B4BBAC; Thu, 3 Apr 2014 08:02:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 18C4A4BB19 for ; Thu, 3 Apr 2014 08:01:56 +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 dx5qqMcnduTf for ; Thu, 3 Apr 2014 08:01:52 +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-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by theia.denx.de (Postfix) with ESMTPS id 6D9144BB44 for ; Thu, 3 Apr 2014 08:01:25 +0200 (CEST) Received: by mail-pa0-f44.google.com with SMTP id bj1so1336222pad.3 for ; Wed, 02 Apr 2014 23:01:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dnpfN1vyjawxg6o6WagoJ/iJSzq9WlzddjjMIAIARw8=; b=VFIqZfQXIOqiX3WPgj6Bz/xWg4ir/mg9GxxeCCLO0chCh9E1vm0tJs53eiRJN1RQTQ BArcSP7VNd50Fqf8L6oWV56VgN78xsJXkHZeNI0YcYt/aLtGaVm1/eB4Fm1djKvuR5q8 7lm+t1tToBwK+hNN7zmaAjKEg3ca4sfbPvnjtjN1EiX41JCBSGlHc7THbeVdhGu4XTTw aL/Txl2/nCxXSwVRKIOAudsLMK/nnKZ/oli/CP9n3C4jQl71LfJsBx/5HvlG1pAfdf9G aAIhao5jGxeLjCYCvvkX9FGe/EGuVSwPZo0wI8G1Pe5G8zZYV7lItFXmiW99g3CXhPG9 Rtlw== X-Gm-Message-State: ALoCoQkLDdX2pBVNrZ86em3Kr/0IXdwEjlapCslBo+m4jztx3IEDNI3pBEPlEaxhjUtZQfA0clBo X-Received: by 10.66.148.134 with SMTP id ts6mr4902427pab.113.1396504884333; Wed, 02 Apr 2014 23:01:24 -0700 (PDT) Received: from tharvey-gw.gw (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by mx.google.com with ESMTPSA id ug9sm8598838pbc.11.2014.04.02.23.01.23 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Apr 2014 23:01:23 -0700 (PDT) From: Tim Harvey To: Stefano Babic Date: Wed, 2 Apr 2014 23:01:06 -0700 Message-Id: <1396504871-1454-7-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1396504871-1454-1-git-send-email-tharvey@gateworks.com> References: <1396504871-1454-1-git-send-email-tharvey@gateworks.com> Cc: Otavio Salvador , u-boot@lists.denx.de, Tom Rini , Stefan Roese Subject: [U-Boot] [PATCH 06/11] MX6: add struct for sharing data between SPL and uboot 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 This can be used to pass info between the SPL and u-boot. Signed-off-by: Tim Harvey --- arch/arm/include/asm/arch-mx6/sys_proto.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h index 38851a1..f43e09c 100644 --- a/arch/arm/include/asm/arch-mx6/sys_proto.h +++ b/arch/arm/include/asm/arch-mx6/sys_proto.h @@ -39,4 +39,9 @@ int mxs_wait_mask_set(struct mxs_register_32 *reg, int mxs_wait_mask_clr(struct mxs_register_32 *reg, uint32_t mask, unsigned int timeout); + +struct mx6_spl_data { + uint8_t boot_mode_idx; + uint32_t mem_dram_size; +}; #endif