From patchwork Sat Dec 7 04:42:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1205360 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="kaGeMklc"; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47VH8d2ppsz9sPf for ; Sat, 7 Dec 2019 15:50:57 +1100 (AEDT) Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2D96281701; Sat, 7 Dec 2019 05:47:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="kaGeMklc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3174E81707; Sat, 7 Dec 2019 05:47:49 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 77879816F7 for ; Sat, 7 Dec 2019 05:47:46 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x141.google.com with SMTP id r81so8153832ilk.0 for ; Fri, 06 Dec 2019 20:47:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=J9B3wGfZqShTMwvj/qZO+V8rYh+ys22GbrQlyrfyyfI=; b=kaGeMklcUkuc8EBCwnZZHiJtHP7jHcTw2TFWRZT0gs/PUHCw8aPYaOmJ5dVhgc5OHS Nrf3Rwt4BaC2QqvdWof0X8uzjVujjCPvWJWuCuobdTwZp7RSijYQDZo9FfjLbLBSMdCJ 1AmbnNblgn4VRIu9x/A0S3PpYup8ByDiremaE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=J9B3wGfZqShTMwvj/qZO+V8rYh+ys22GbrQlyrfyyfI=; b=Oa9I3GyDKFKaS7mf6wKyEL/e0O47mLftVtkpHuM6Y/7RjKYov3x/0eiA60aFskRBpI Ugtox46vO4FtxsH0uQ1zfiBM7311Zp+gICKS1gcQn+RlFRf+mkWMgqWahMu7XpN1vBDB 40Ilfj1kd3QzrNCvYjaBBuZUAhZ3STZFa10N2Sge9IBfrul9IT8JzemqTjac2wuHI1Ez 0rPDz4ouOehWB5AVEHxVmxMimeGIQ5xCH1+fC7PoxXjbiTZNFibPTVeiqNedGSWD4rHT 9vmwgEN1IB/FVbLR6mPZ2u9Hbm+U6ECPA9C89HLa+U2zy86x2DkFa1DMCixwtxsyvWWW l81g== X-Gm-Message-State: APjAAAUcJmZWKTz2JGteHY62cosLNzY2t6XoUmdch9p8oc8P2gEczSwf MaJ1KmmaoZA/nCRU8JxfYdtd+3vgKE0= X-Google-Smtp-Source: APXvYqyk39nvWRI9GPvSxjA4QsRuz7TwqB0VxaCDBV2FzuHogRbUiAiRrFA5zCQVjPh8REXHk/umnQ== X-Received: by 2002:a92:d244:: with SMTP id v4mr335638ilg.148.1575694065315; Fri, 06 Dec 2019 20:47:45 -0800 (PST) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id o7sm4549410ilo.58.2019.12.06.20.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2019 20:47:45 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Subject: [PATCH v6 027/102] x86: Define the SPL image start Date: Fri, 6 Dec 2019 21:42:00 -0700 Message-Id: <20191206213936.v6.27.I6c05ea4054b6eaf2f2cf3c3a2e0640ea5701aadf@changeid> X-Mailer: git-send-email 2.24.0.393.g34dc348eaf-goog In-Reply-To: <20191207044315.51770-1-sjg@chromium.org> References: <20191207044315.51770-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean Define this symbol so that we can use binman symbols correctly. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/x86/cpu/u-boot-spl.lds | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/x86/cpu/u-boot-spl.lds b/arch/x86/cpu/u-boot-spl.lds index c1e9bfbf66..e6c22895b3 100644 --- a/arch/x86/cpu/u-boot-spl.lds +++ b/arch/x86/cpu/u-boot-spl.lds @@ -17,7 +17,10 @@ SECTIONS . = IMAGE_TEXT_BASE; /* Location of bootcode in flash */ __text_start = .; - .text : { *(.text*); } + .text : { + __image_copy_start = .; + *(.text*); + } . = ALIGN(4);