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 788F7C77B73 for ; Sun, 16 Apr 2023 15:00:48 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D29FF85F4B; Sun, 16 Apr 2023 17:00:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=akkea.ca header.i=@akkea.ca header.b="MGw74Ewb"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="Yb2zq+WZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4E7D885F4B; Sun, 16 Apr 2023 17:00:44 +0200 (CEST) Received: from node.akkea.ca (li1434-30.members.linode.com [45.33.107.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A3FA285C42 for ; Sun, 16 Apr 2023 17:00:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=angus@akkea.ca Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 35B4F4E2006; Sun, 16 Apr 2023 15:00:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1681657239; bh=X0L/bF7yvvp0crUQhoVvEhJ9goXfcDp/Gc1DY/MQLfE=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=MGw74Ewb4jnRxIPKCrb0t2hoGPezhG8asTE+wXE7YP0ZRMIObDNm1O6GVlZYCsYEm 0TTQkWqfXLZOFiHAv1YhY8mtmIChw4CQNgoY5fjJDLKEj6SdzMEaaS+HcRhYqABJ+S nOv1WwelTGqqnsLIAIdXMuLhAou96qb8SvGb4VVg= Received: from node.akkea.ca ([127.0.0.1]) by localhost (mail.akkea.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FEAPABirdbNV; Sun, 16 Apr 2023 15:00:38 +0000 (UTC) Received: from www.akkea.ca (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id A60434E2003; Sun, 16 Apr 2023 15:00:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1681657238; bh=X0L/bF7yvvp0crUQhoVvEhJ9goXfcDp/Gc1DY/MQLfE=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=Yb2zq+WZLh1U/Og9GZs8jVe4wACaSm+XfoVFnCbgcakEabYYuiIoWhSLq43E9ir9v qt1NiMUa43zLNMtVPWE8QSEL+qBs1/Z5c+iQg6WbuJVVcapdCsuKYZ52qiUqOZMBmp jR4UJvXsKy+S09+EKG6uWCL+a+hvOARw7oxlveU0= MIME-Version: 1.0 Date: Sun, 16 Apr 2023 08:00:38 -0700 From: Angus Ainslie To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: Jaehoon Chung , Peng Fan , Stefan Roese , kernel@puri.sm, u-boot@lists.denx.de Subject: Re: [PATCH u-boot 4/4] board: purism: Use U-Boot mmc function for converting boot part to part access In-Reply-To: <20230413211057.10975-5-pali@kernel.org> References: <20230413211057.10975-1-pali@kernel.org> <20230413211057.10975-5-pali@kernel.org> Message-ID: X-Sender: angus@akkea.ca User-Agent: Roundcube Webmail/1.3.17 Content-Type: text/plain; charset=UTF-8; format=flowed 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.8 at phobos.denx.de X-Virus-Status: Clean On 2023-04-13 14:10, Pali Rohár wrote: > eMMC Boot Partition Enable bits in mmc->part_config (EXT_CSD[179]) has > different coding than eMMC Partition Access bits. > > Use spl_mmc_emmc_boot_partition() function which does this conversion > properly (hopefully). > > Signed-off-by: Pali Rohár Reviewed-by: Angus Ainslie