From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7431E1BBBE0 for ; Mon, 13 Jan 2025 17:52:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736790765; cv=none; b=enEfU2gPavxXFZln8YNWK1vu/EegSg2tx9PMWdv36ABwqxx6KvHNgKaEZWvRryRyYZ4k0/JFe67AV4phRQnSnQsFnUaBARlbwLJhJIKh68UrZLcpKcWEtFeoFQdBYWRf4Ebwk2YVs7a+ztSm+zMsihJm6XIxQDAJ7q+nqVF23io= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736790765; c=relaxed/simple; bh=4eb7aFIfUTW9f9gOymN+fTT0Ae3iJ2H7ofb06csQLPo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=V3LLVBSM8ylbBsMSRKc2ehuTtIia/u368k8Uz8Nn9jkisNfG5uavLYzzSHHNm+OKV3Q0eTUF38X6uqErtfjcbP5izjyc5KebFNwHwwyRzLr5GfDMGKCHT1OfW2hugcsqtDFthCaw8lj7DAnYv+kbX0rqngbsCci2zhHMyqmP3Xw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jg0Pql8a; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jg0Pql8a" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9E10C4CED6; Mon, 13 Jan 2025 17:52:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736790765; bh=4eb7aFIfUTW9f9gOymN+fTT0Ae3iJ2H7ofb06csQLPo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=jg0Pql8axrJ38KvVUBBZoxMltaoL8oyEOlEP8kt/z3AlaWB0j7sqA5S6EevbEGMT6 WIV57mQ0swtTMw0ItLWcqnk/MJ5HGItfmgAgAqrGJDfiJOC6TUQVKgywrLhi7X4R4M 7B/1bw/WHhfUgi4yawnCpFTFowizo1GJc1M3D4mDU91o0IDosX2c07bNR0DQTToqDA LSz8EkCA82YFc/016o14v3dz9FsDG9bfpsKFly15WHdcG5EIAnH9Xzuvw9fCcNge+O dGnaRnDQ1FdVVH8SnIVrjtHS80mmmLpcsX0Fp8n/Jo1RtE9N1JquffSAGtHcK5xg6C PcnDd1uDW1MUg== From: Pratyush Yadav To: Tudor Ambarus Cc: Renjun Wang , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: spi-nor: extend description of size member of struct flash_info In-Reply-To: <20241219-spi-nor-flash-info-size-desc-v1-1-6b53cf011027@linaro.org> (Tudor Ambarus's message of "Thu, 19 Dec 2024 09:20:04 +0000") References: <20241219-spi-nor-flash-info-size-desc-v1-1-6b53cf011027@linaro.org> Date: Mon, 13 Jan 2025 17:52:42 +0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Thu, Dec 19 2024, Tudor Ambarus wrote: > We use the size as an indicator whether to parse SFDP or not. We don't > introduce a dedicated member for SFDP parsing because we'd like to keep > the struct size at a minimum, as it's used for every flash declaration. > Ideally we won't have flash entries at all, but there are still flash > parameters that aren't defined by SFDP, thus we need to statically > specify them. > > Signed-off-by: Tudor Ambarus Applied to spi-nor/next. Thanks! -- Regards, Pratyush Yadav