aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-10-22 12:37:48 +0200
committerStefan Roese <sr@denx.de>2021-10-28 10:33:32 +0200
commit33cdd9eeaaff48d083af5c0126823348c2b44d97 (patch)
tree4735f1a61f702faf7daa2e54301427e4ab351fe3 /arch
parent0089f61e2dad50650d848ce8625d2b2141f56984 (diff)
downloadu-boot-33cdd9eeaaff48d083af5c0126823348c2b44d97.zip
u-boot-33cdd9eeaaff48d083af5c0126823348c2b44d97.tar.gz
u-boot-33cdd9eeaaff48d083af5c0126823348c2b44d97.tar.bz2
arm: mvebu: Update name of kwbimage v1 field at offset 0x2-0x3
At this offset is stored nand page size. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mvebu/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c
index b798c79..27389bf 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 */