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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1EDFC433F5 for ; Fri, 22 Oct 2021 10:38:50 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D527B61108 for ; Fri, 22 Oct 2021 10:38:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D527B61108 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 780B9834CD; Fri, 22 Oct 2021 12:38:43 +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="kDIdV5BG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0ED6E834B5; Fri, 22 Oct 2021 12:38:27 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (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 32C75834C5 for ; Fri, 22 Oct 2021 12:38:20 +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: by mail.kernel.org (Postfix) with ESMTPSA id A0378610FF; Fri, 22 Oct 2021 10:38:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634899098; bh=FmWHUIZlEr+pcrHudYSyS6MHxsOJXf2WthcfdRFHHak=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kDIdV5BGwpV9ryEtop20QKoHQ/QCA6RRZ3oBE4Kh32yqxEJ0lLElCA4vS6cN/jqdG jiqexRzc1Fkb6Y66zfkDS0MNlSmRlDeWxpdonlODbm2Cm5n98E2W7JgMAN2i5vThv7 Oay9Qtjca9qGT8sFF+GWzbC1B62cEz1LLPziFGv8CDVzg9pxmz/T3g+PpfERAWYS4o rWlrhhfFD0KWghkG79z8XOiwZVFNfJgDNRSu+Po58OVPx+bmt0BGI2VtpNeNPZxoJz 1Ipu7MSAbRLcj5DQu2HeF44oh9uSLvhd3H1gAAxPAKrqukVynD6tdZ6g4FyE3J9+uK 9EK+BwhkmTZgg== Received: by pali.im (Postfix) id 6429D7F6; Fri, 22 Oct 2021 12:38:18 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese Cc: =?UTF-8?q?Marek=20Beh=C3=BAn?= , u-boot@lists.denx.de Subject: [PATCH 3/3] arm: mvebu: Update name of kwbimage v1 field at offset 0x2-0x3 Date: Fri, 22 Oct 2021 12:37:48 +0200 Message-Id: <20211022103748.25651-4-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20211022103748.25651-1-pali@kernel.org> References: <20211022103748.25651-1-pali@kernel.org> 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.34 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.2 at phobos.denx.de X-Virus-Status: Clean At this offset is stored nand page size. Signed-off-by: Pali Rohár --- arch/arm/mach-mvebu/spl.c | 2 +- cmd/mvebu/bubt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c index 04d9640b142d..cad3f0a48893 100644 --- a/arch/arm/mach-mvebu/spl.c +++ b/arch/arm/mach-mvebu/spl.c @@ -76,7 +76,7 @@ struct kwbimage_main_hdr_v1 { uint8_t blockid; /* 0x0 */ uint8_t flags; /* 0x1 */ - uint16_t reserved2; /* 0x2-0x3 */ + uint16_t nandpagesize; /* 0x2-0x3 */ uint32_t blocksize; /* 0x4-0x7 */ uint8_t version; /* 0x8 */ uint8_t headersz_msb; /* 0x9 */ diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c index 470fb0e92097..a7f3ff3c6fc0 100644 --- a/cmd/mvebu/bubt.c +++ b/cmd/mvebu/bubt.c @@ -89,7 +89,7 @@ struct mvebu_image_info { struct a38x_main_hdr_v1 { u8 blockid; /* 0x0 */ u8 flags; /* 0x1 */ - u16 reserved2; /* 0x2-0x3 */ + u16 nandpagesize; /* 0x2-0x3 */ u32 blocksize; /* 0x4-0x7 */ u8 version; /* 0x8 */ u8 headersz_msb; /* 0x9 */ -- 2.20.1