From patchwork Sun Jan 6 19:42:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Schwierzeck X-Patchwork-Id: 1021098 X-Patchwork-Delegate: daniel.schwierzeck@googlemail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="j2tcolXn"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43XprM5cTqz9sBn for ; Mon, 7 Jan 2019 06:44:35 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 664B0C21DD9; Sun, 6 Jan 2019 19:43:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 0B4A3C21DD7; Sun, 6 Jan 2019 19:42:55 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9ED00C21C3F; Sun, 6 Jan 2019 19:42:52 +0000 (UTC) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by lists.denx.de (Postfix) with ESMTPS id 40F0AC21C38 for ; Sun, 6 Jan 2019 19:42:52 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id y139so5325740wmc.5 for ; Sun, 06 Jan 2019 11:42:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nbZqE3INHOrRkj3KAy/7FEzDFT9V9RaElH+0vgoDD00=; b=j2tcolXnPBn2YuHAgT3jaoQk+AtBGtT7GO91maQxsdKfiPmQ83TimfkO21pStYR0Z1 fGLWPHnZZPyDST/e4zGRio+JQgEYEDWyAAv/AISDouMb3e3WyNPJxljPZnhj2wEGf7Q6 DifQZtrtu7dBNyM+HqmO03llyZYNJJ8cc7XVafRNmhNpw5xtX/lPLNW7WqXvAzkWQGb8 1FvSrfxq0tJpy3s3M/UBMe0AkuCx9NLTGws4ng9On6fpenBGQIQ9D2pv07AEMf7kAP3c zQ+LJZ8YbY4SyuQDAxN9O8pCT/71B3RgmaCUZF4TkeDQiTL158PRcMRWey9Myl+3NC+b lXsw== 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=nbZqE3INHOrRkj3KAy/7FEzDFT9V9RaElH+0vgoDD00=; b=Q7nbzAFjMDTf9wMNEQ0MZccZ9xrl7bgtmErp5B7C4BEHD2mEejViJjLVYw6hdBX/mT jq7EEnfSlfc/10aQRZkbXfamEB2Crmv1iEurkB65G7/w1+xgnBupQbzbBDFunmZjR4/g nVAjjzngCgMmwHD/Y/CKGa2Vlb/G0ggc/4dCTSiRCD/zLhdT9w2h1iRz0dBAnkQ9/k+v fLa9XSHcQ9yy9cFAgLaV/sW6HtjfdmUDYRt8Xr8Qjcd9QJLDsS5h10QXoRGAdo+oQgaY ZpYi8INpqlVbdE3hnozx9E3pbzHAZe4S7PUdUZ1Foq0I03t7Ld6Kd+lC6Ac0iygaG/rh QYgw== X-Gm-Message-State: AJcUukcO3C2FUI4bYfbU3pt0QDWE2jP5CihhIfHV81bxg1FKWqG32Ezy C7pWvhAPXGuSc+RL1kFqZu0eI7iG X-Google-Smtp-Source: ALg8bN5COQjCpO/E1yXLHRswOKY3kB9Haqy33VBxtKEr+SR9tEwyAhFJd+4SkDygdXqvEhxALsDGcA== X-Received: by 2002:a1c:1383:: with SMTP id 125mr7093169wmt.71.1546803771654; Sun, 06 Jan 2019 11:42:51 -0800 (PST) Received: from workstation.lan.schwierd.dedyn.io (p5DCA8111.dip0.t-ipconnect.de. [93.202.129.17]) by smtp.gmail.com with ESMTPSA id p4sm44398511wrs.74.2019.01.06.11.42.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Jan 2019 11:42:50 -0800 (PST) From: Daniel Schwierzeck To: u-boot@lists.denx.de Date: Sun, 6 Jan 2019 20:42:44 +0100 Message-Id: <20190106194244.20816-3-daniel.schwierzeck@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190106194244.20816-1-daniel.schwierzeck@gmail.com> References: <20190106194244.20816-1-daniel.schwierzeck@gmail.com> MIME-Version: 1.0 Subject: [U-Boot] [PATCH 2/2] MIPS: jz47xx: remove custom u-boot-spl.lds X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" There is no real difference between the generic variant and the custom variant except that the generic variant is more optimised. This also saves 24 Bytes in the SPL binary. Signed-off-by: Daniel Schwierzeck --- - tested with MMC boot on CI20 rev1 board arch/mips/mach-jz47xx/jz4780/u-boot-spl.lds | 50 --------------------- configs/ci20_mmc_defconfig | 1 - 2 files changed, 51 deletions(-) delete mode 100644 arch/mips/mach-jz47xx/jz4780/u-boot-spl.lds diff --git a/arch/mips/mach-jz47xx/jz4780/u-boot-spl.lds b/arch/mips/mach-jz47xx/jz4780/u-boot-spl.lds deleted file mode 100644 index 347cabc450..0000000000 --- a/arch/mips/mach-jz47xx/jz4780/u-boot-spl.lds +++ /dev/null @@ -1,50 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ - -MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\ - LENGTH = CONFIG_SPL_MAX_SIZE } -MEMORY { .sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \ - LENGTH = CONFIG_SPL_BSS_MAX_SIZE } - -OUTPUT_ARCH(mips) -ENTRY(_start) -SECTIONS -{ - .text : - { - __image_copy_start = .; - arch/mips/mach-jz47xx/start.o (.text*) - *(.text*) - } >.sram - - . = ALIGN(4); - .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram - - . = ALIGN(4); - .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram - - . = ALIGN(4); - __image_copy_end = .; - - .bss : { - . = ALIGN(4); - __bss_start = .; - *(.sbss.*) - *(.bss.*) - *(COMMON) - . = ALIGN(4); - __bss_end = .; - } >.sdram - - /DISCARD/ : { - *(.dynbss) - *(.dynstr) - *(.dynamic) - *(.interp) - *(.hash) - *(.gnu.*) - *(.plt) - *(.got.plt) - *(.rel.plt) - *(.rel.dyn) - } -} diff --git a/configs/ci20_mmc_defconfig b/configs/ci20_mmc_defconfig index c1b1c3f7e9..9602c8c6fe 100644 --- a/configs/ci20_mmc_defconfig +++ b/configs/ci20_mmc_defconfig @@ -1,5 +1,4 @@ CONFIG_MIPS=y -CONFIG_SPL_LDSCRIPT="arch/mips/mach-jz47xx/jz4780/u-boot-spl.lds" CONFIG_SYS_TEXT_BASE=0x80010000 CONFIG_SPL_GPIO_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y