From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 766BEC433F5 for ; Tue, 5 Apr 2022 13:14:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1A3A583BBD; Tue, 5 Apr 2022 15:14:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Ih3hg7a3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E41BA83BAC; Tue, 5 Apr 2022 15:14:22 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3FFDB83B4E for ; Tue, 5 Apr 2022 15:14:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D47FFB81D5C; Tue, 5 Apr 2022 13:14:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51027C385A1; Tue, 5 Apr 2022 13:14:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649164452; bh=2eB39j8vWIyLomBoeZuTdObZKOFTngSwehcUpI9iYw0=; h=From:To:Cc:Subject:Date:From; b=Ih3hg7a3ADQyN44fOckAKOAibQ/1khCV6RrXN6nu/jqAwhCRuMRED9RSQZv6Rvesf F0XgDbRfuHvDbPjDApV0ajsIg1DX7W3j6V7u4YHTOzOxyhePij/jbNjTRGLS5GgmvL oCdEnT7cfQr35jjhOa5gIbU8BCB0CDDIGIKkZ4kdffz4KoKRFVYi4S7Ne8txUzBDpc PyorHtzlvPubbzhATY5SBN5FNtoZb/QxX7zhRDRN+az9H9PKc1yVPzipxq3H9h/iL4 yNvj4OYAnUhbVzW5E7YjIrlcuj8geoQCni3YlPnVTUaYp+b058ubGc4Q8jfHugCE2d r4pUly6RsgmrA== Received: by pali.im (Postfix) id 45A3B7B2; Tue, 5 Apr 2022 15:14:09 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Priyanka Jain , Qiang Zhao , Shengzhou Liu , Alexander Graf , Bin Meng , Wolfgang Denk , Sinan Akman Cc: u-boot@lists.denx.de Subject: [PATCH 0/8] powerpc: mpc85xx: Fix and cleanup mpc85xx code Date: Tue, 5 Apr 2022 15:12:29 +0200 Message-Id: <20220405131237.405-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.5 at phobos.denx.de X-Virus-Status: Clean This patch series fixes support for CONFIG_OF_SEPARATE option, cleanup linker scripts and change code so TEXT_BASE address is set o expected value. Tested on P2020 based board. Pali Rohár (8): powerpc: mpc85xx: Fix CONFIG_OF_SEPARATE support powerpc: mpc85xx: Remove duplicate u-boot-nand.lds powerpc: mpc85xx: Remove u-boot-nand_spl.lds powerpc: mpc85xx: Remove useless SIZEOF_HEADERS and .interp from ld script powerpc: mpc85xx: Put bss after image when not including reset vector powerpc: mpc85xx: Define linker sections in ascending order powerpc: mpc85xx: Set TEXT_BASE addresses to real base values board: freescale: p1_p2_rdb_pc: Simplify SPL offset macros arch/powerpc/cpu/mpc85xx/start.S | 4 +- arch/powerpc/cpu/mpc85xx/u-boot-nand.lds | 97 -------------------- arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds | 68 -------------- arch/powerpc/cpu/mpc85xx/u-boot-spl.lds | 25 ++--- arch/powerpc/cpu/mpc85xx/u-boot.lds | 37 +++----- configs/P1010RDB-PA_36BIT_NAND_defconfig | 6 +- configs/P1010RDB-PA_36BIT_SDCARD_defconfig | 4 +- configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig | 4 +- configs/P1010RDB-PA_NAND_defconfig | 6 +- configs/P1010RDB-PA_SDCARD_defconfig | 4 +- configs/P1010RDB-PA_SPIFLASH_defconfig | 4 +- configs/P1010RDB-PB_36BIT_NAND_defconfig | 6 +- configs/P1010RDB-PB_36BIT_SDCARD_defconfig | 4 +- configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig | 4 +- configs/P1010RDB-PB_NAND_defconfig | 6 +- configs/P1010RDB-PB_SDCARD_defconfig | 4 +- configs/P1010RDB-PB_SPIFLASH_defconfig | 4 +- configs/P1020RDB-PC_36BIT_NAND_defconfig | 6 +- configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 4 +- configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig | 4 +- configs/P1020RDB-PC_NAND_defconfig | 6 +- configs/P1020RDB-PC_SDCARD_defconfig | 4 +- configs/P1020RDB-PC_SPIFLASH_defconfig | 4 +- configs/P1020RDB-PD_NAND_defconfig | 6 +- configs/P1020RDB-PD_SDCARD_defconfig | 4 +- configs/P1020RDB-PD_SPIFLASH_defconfig | 4 +- configs/P2020RDB-PC_36BIT_NAND_defconfig | 6 +- configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 4 +- configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 4 +- configs/P2020RDB-PC_NAND_defconfig | 6 +- configs/P2020RDB-PC_SDCARD_defconfig | 4 +- configs/P2020RDB-PC_SPIFLASH_defconfig | 4 +- configs/T1024RDB_NAND_defconfig | 4 +- configs/T1024RDB_SDCARD_defconfig | 2 +- configs/T1024RDB_SPIFLASH_defconfig | 2 +- configs/T1042D4RDB_NAND_defconfig | 4 +- configs/T1042D4RDB_SDCARD_defconfig | 2 +- configs/T1042D4RDB_SPIFLASH_defconfig | 2 +- configs/T2080QDS_NAND_defconfig | 4 +- configs/T2080QDS_SDCARD_defconfig | 2 +- configs/T2080QDS_SPIFLASH_defconfig | 2 +- configs/T2080RDB_NAND_defconfig | 4 +- configs/T2080RDB_SDCARD_defconfig | 2 +- configs/T2080RDB_SPIFLASH_defconfig | 2 +- configs/T2080RDB_revD_NAND_defconfig | 4 +- configs/T2080RDB_revD_SDCARD_defconfig | 2 +- configs/T2080RDB_revD_SPIFLASH_defconfig | 2 +- configs/T4240RDB_SDCARD_defconfig | 2 +- configs/qemu-ppce500_defconfig | 2 +- include/configs/P1010RDB.h | 10 +- include/configs/T102xRDB.h | 3 + include/configs/T104xRDB.h | 3 + include/configs/T208xQDS.h | 3 + include/configs/T208xRDB.h | 3 + include/configs/p1_p2_rdb_pc.h | 26 +++--- 55 files changed, 127 insertions(+), 322 deletions(-) delete mode 100644 arch/powerpc/cpu/mpc85xx/u-boot-nand.lds delete mode 100644 arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds -- 2.20.1