Message ID | 1413532834-10380-4-git-send-email-b18965@freescale.com |
---|---|
State | Superseded |
Delegated to: | York Sun |
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 EBB041400BE for <incoming@patchwork.ozlabs.org>; Fri, 17 Oct 2014 19:02:00 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 28845A740D; Fri, 17 Oct 2014 10:01:43 +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 NPgmXBsrE3Gm; Fri, 17 Oct 2014 10:01:42 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D5241A7410; Fri, 17 Oct 2014 10:01:35 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5405DA73E9 for <u-boot@lists.denx.de>; Fri, 17 Oct 2014 10:01:33 +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 nVQ1L07mwfRU for <u-boot@lists.denx.de>; Fri, 17 Oct 2014 10:01:33 +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 na01-by2-obe.outbound.protection.outlook.com (mail-by2on0111.outbound.protection.outlook.com [207.46.100.111]) by theia.denx.de (Postfix) with ESMTPS id 7CE8AA73EF for <u-boot@lists.denx.de>; Fri, 17 Oct 2014 10:01:27 +0200 (CEST) Received: from BN3PR0301CA0029.namprd03.prod.outlook.com (25.160.180.167) by BY2PR0301MB0693.namprd03.prod.outlook.com (25.160.63.148) with Microsoft SMTP Server (TLS) id 15.0.1054.13; Fri, 17 Oct 2014 08:01:23 +0000 Received: from BY2FFO11FD034.protection.gbl (2a01:111:f400:7c0c::117) by BN3PR0301CA0029.outlook.office365.com (2a01:111:e400:4000::39) with Microsoft SMTP Server (TLS) id 15.0.1054.13 via Frontend Transport; Fri, 17 Oct 2014 08:01:22 +0000 Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD034.mail.protection.outlook.com (10.1.14.219) with Microsoft SMTP Server (TLS) id 15.0.1039.16 via Frontend Transport; Fri, 17 Oct 2014 08:01:21 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id s9H81CJG023491; Fri, 17 Oct 2014 01:01:19 -0700 From: Alison Wang <b18965@freescale.com> To: <yorksun@freescale.com>, <u-boot@lists.denx.de> Date: Fri, 17 Oct 2014 16:00:29 +0800 Message-ID: <1413532834-10380-4-git-send-email-b18965@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1413532834-10380-1-git-send-email-b18965@freescale.com> References: <1413532834-10380-1-git-send-email-b18965@freescale.com> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(54534003)(199003)(189002)(76176999)(47776003)(50986999)(26826002)(20776003)(99396003)(104016003)(64706001)(104166001)(62966002)(97736003)(50226001)(33646002)(85306004)(21056001)(4396001)(89996001)(85852003)(87936001)(87286001)(88136002)(120916001)(76482002)(19580395003)(6806004)(19580405001)(44976005)(93916002)(84676001)(31966008)(68736004)(48376002)(107046002)(77156001)(69596002)(36756003)(105606002)(92726001)(50466002)(102836001)(229853001)(92566001)(95666004)(80022003)(106466001)(46102003)(81156004)(41533002)(142923001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0301MB0693; H:az84smr01.freescale.net; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB0693; X-Forefront-PRVS: 0367A50BB1 Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=alison.wang@freescale.com; X-OriginatorOrg: freescale.com Cc: Alison Wang <alison.wang@freescale.com> Subject: [U-Boot] [PATCH v3 3/8] arm: spl: Add I2C linker list in generic .lds X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 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> 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/arm/cpu/u-boot-spl.lds b/arch/arm/cpu/u-boot-spl.lds index 4beddf0..bddef74 100644 --- a/arch/arm/cpu/u-boot-spl.lds +++ b/arch/arm/cpu/u-boot-spl.lds @@ -32,6 +32,9 @@ SECTIONS } . = ALIGN(4); + .u_boot_list : { + KEEP(*(SORT(.u_boot_list*_i2c_*))); + } . = .;
On LS1, DDR is initialized by reading SPD through I2C interface in SPL code. For I2C, ll_entry_count() is called, and it returns the number of elements of a linker-generated array placed into subsection of .u_boot_list section specified by _list argument. So add I2C linker list in the generic .lds to fix the issue about using I2C in SPL. Signed-off-by: Alison Wang <alison.wang@freescale.com> --- Change log: v3: No change. v2: New file. arch/arm/cpu/u-boot-spl.lds | 3 +++ 1 file changed, 3 insertions(+)