[PATCH 3/3] arm: mvebu: Update name of kwbimage v1 field at offset 0x2-0x3

Stefan Roese sr at denx.de
Tue Oct 26 06:47:33 CEST 2021


On 22.10.21 12:37, Pali Rohár wrote:
> At this offset is stored nand page size.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
>   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       */
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list