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 DA71BC54EE9 for ; Mon, 19 Sep 2022 09:33:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E0ACB84A4D; Mon, 19 Sep 2022 11:33:36 +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="iscbC8NQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1464384C0E; Mon, 19 Sep 2022 11:33:36 +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 D662F847EF for ; Mon, 19 Sep 2022 11:33:33 +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 776C4B80957; Mon, 19 Sep 2022 09:33:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CBF0C433C1; Mon, 19 Sep 2022 09:33:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663580012; bh=dh4BKJSMUEIOqErfaPoAHRPqV5e/1GuTqZHdvg6I2vs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iscbC8NQlfAJ1AFPd8r1fDZjLrw1tlnsOy0sxf6SIhQULCMcoJ/bA2JLO8Nv9xmwd +c6VblBlS0b0n0g6WiLXWQ+RbH/F6taLKIPATi7YSTdMyCww4B+HhJ88Kl0q3myWcu Yrg7SMt10z2EXdcJc9QjeYwTPAlbOgb4Kaex0IokFjb1OoeLoRFbosLOvd3alyEGXQ B1af1INnSZfQdmqdYwmVuhikcbmENye1Iu/sBoZ+t0s4gyg/OCrS0ODPc99epdkJeD J7puNsCYGhI0dH/zpm1nDSXlAiofzNImYdKQnztKCtkRKxpBmKDYeuFv/9ENMmcXSI ruwxXeLishXoA== Received: by pali.im (Postfix) id 1D01974C; Mon, 19 Sep 2022 11:33:29 +0200 (CEST) Date: Mon, 19 Sep 2022 11:33:29 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Marek =?utf-8?B?QmVow7pu?= Cc: Tom Rini , U-Boot Mailing List Subject: Re: [PATCH] powerpc: mpc85xx: Fix incorrect application of patch Message-ID: <20220919093329.cp5yznf2aj2dc4b6@pali> References: <20220919075341.bdb6523ciy3eqtqw@pali> <20220919093208.13558-1-kabel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220919093208.13558-1-kabel@kernel.org> User-Agent: NeoMutt/20180716 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 On Monday 19 September 2022 11:32:08 Marek Behún wrote: > I messed up application of patch 5a428e751044 ("mmc: fsl_esdhc_spl: Add > support for builds without CONFIG_SYS_MMC_U_BOOT_OFFS"). I took it from > a work-in-progress branch where I changed usage of > CONFIG_SDCARD to CONFIG_SD_BOOT > and refactored > SYS_MPC85XX_NO_RESETVEC > mess. > > But these changes aren't in master yet. Fix the wrong usage of these > macros. > > Fixes: 5a428e751044 ("mmc: fsl_esdhc_spl: Add support for builds without CONFIG_SYS_MMC_U_BOOT_OFFS") > Signed-off-by: Marek Behún Reviewed-by: Pali Rohár > --- > Tom, should I send another PR with this fix or do you want to apply > it yourself? > > BTW sorry about this. It wasn't caught by CI and I wanted to send at > least the fixes to master ASAP. I now looked again together with Pali > at the rest of the patches and they are fine. > --- > arch/powerpc/cpu/mpc85xx/u-boot-spl.lds | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/powerpc/cpu/mpc85xx/u-boot-spl.lds b/arch/powerpc/cpu/mpc85xx/u-boot-spl.lds > index a36aa1793d..f28826c5d1 100644 > --- a/arch/powerpc/cpu/mpc85xx/u-boot-spl.lds > +++ b/arch/powerpc/cpu/mpc85xx/u-boot-spl.lds > @@ -63,8 +63,8 @@ SECTIONS > __init_end = .; > _end = .; > > -#ifndef KEEP_RESET_VECTOR > -#if defined(CONFIG_SD_BOOT) && !defined(CONFIG_SYS_MMC_U_BOOT_OFFS) > +#if CONFIG_IS_ENABLED(SYS_MPC85XX_NO_RESETVEC) > +#if defined(CONFIG_SDCARD) && !defined(CONFIG_SYS_MMC_U_BOOT_OFFS) > mmc_u_boot_offs = .; > #endif > #endif > @@ -101,7 +101,7 @@ SECTIONS > .resetvec IMAGE_TEXT_BASE + RESET_VECTOR_OFFSET : { > KEEP(*(.resetvec)) > } = 0xffff > -#if defined(CONFIG_SD_BOOT) && !defined(CONFIG_SYS_MMC_U_BOOT_OFFS) > +#if defined(CONFIG_SDCARD) && !defined(CONFIG_SYS_MMC_U_BOOT_OFFS) > mmc_u_boot_offs = .; > #endif > #endif > -- > 2.35.1 >