From patchwork Thu Dec 29 01:39:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 1719942 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=PTCOLleP; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NjB0n39Ksz23dQ for ; Thu, 29 Dec 2022 12:40:25 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2FEB485461; Thu, 29 Dec 2022 02:40:14 +0100 (CET) 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="PTCOLleP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 998D185477; Thu, 29 Dec 2022 02:40:10 +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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) (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 294D985445 for ; Thu, 29 Dec 2022 02:40:08 +0100 (CET) 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 sin.source.kernel.org (Postfix) with ESMTPS id 70B90CE13CB; Thu, 29 Dec 2022 01:40:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 935C5C433D2; Thu, 29 Dec 2022 01:40:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672278003; bh=6A1k+SB+UlVi2IMF4+YKndQvpBuQIX7yf5plRu+rxVk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PTCOLleP35CzozQNZnDJvBFXd0k9wAu1ejwyE2M2ZrTzW1hIjyEwfL9amBCeOC3aq /rxaEc5jAgWRSeZ+VuOGczEjM4vCyKPr1i/vFU49Po8jSIMiM5uLY9Iw/mLuNyYX8O gWjkWhREX/YIHPle5KppNEZy3yIKOg0ZlJEGJGzOyiXSFJEFEuv43Onqr8IXe2zUX6 R6ac/55pzNIuc9TormFpjYDC3B9WmVPmIaO8AKvSknrpZiK6EDaQQnryDI4f4nCulc TVw/KZdvyouBfUHAUflUaLP2+GBm57bbu/RSzOMgtDWHjOMi6349lgLe4sRUx3euGb DfM9Q2kQa24cw== Received: by pali.im (Postfix) id 4FEBF942; Thu, 29 Dec 2022 02:40:03 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Tom Rini Cc: u-boot@lists.denx.de Subject: [PATCH 2/3] powerpc/mpc85xx: Set default CONFIG_BUILD_TARGET Date: Thu, 29 Dec 2022 02:39:20 +0100 Message-Id: <20221229013921.24930-2-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20221229013921.24930-1-pali@kernel.org> References: <20221229013921.24930-1-pali@kernel.org> MIME-Version: 1.0 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.6 at phobos.denx.de X-Virus-Status: Clean Final U-Boot binary for mpc85xx boards which use SPL and are not PBL-based based is u-boot-with-spl.bin. PBL is not used only on boards with e500v1 and e500v2 cores. Apparently CONFIG_E500 is set not only for e500 cores, but also for all other mpc85xx cores e500mc, e5500 and e5600. So do not use CONFIG_E500 and instead filter new cores with PBL based bootrom. Signed-off-by: Pali Rohár --- Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/Kconfig b/Kconfig index 2243cc51c7cb..dedac5396918 100644 --- a/Kconfig +++ b/Kconfig @@ -461,6 +461,7 @@ config BUILD_TARGET default "u-boot.itb" if !BINMAN && SPL_LOAD_FIT && (ARCH_ROCKCHIP || \ ARCH_SUNXI || RISCV || ARCH_ZYNQMP) default "u-boot.kwb" if (ARCH_KIRKWOOD || ARMADA_32BIT) && !SPL + default "u-boot-with-spl.bin" if MPC85xx && !E500MC && !E5500 && !E6500 && SPL default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT default "u-boot-with-spl.imx" if ARCH_MX6 && SPL help