diff options
| author | Tom Rini <[email protected]> | 2015-10-20 21:59:40 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2015-10-20 21:59:40 -0400 |
| commit | e8d124fae0f3dff87348c989aa65ecf9b6eadc14 (patch) | |
| tree | ff4f4709e54cde4d97349463c335d00f2d631e42 /tools | |
| parent | fd8133b725198978865ead730ff20d3991e05f20 (diff) | |
| parent | 5b37212a3d78f546b5ef3f97a75155b3a0fd88cb (diff) | |
Merge git://git.denx.de/u-boot-marvell
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/kwbimage.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/kwbimage.c b/tools/kwbimage.c index 5e62d08a807..d33f1b6974f 100644 --- a/tools/kwbimage.c +++ b/tools/kwbimage.c @@ -681,6 +681,9 @@ static void kwbimage_set_header(void *ptr, struct stat *sbuf, int ifd, exit(EXIT_FAILURE); } + /* The MVEBU BootROM does not allow non word aligned payloads */ + sbuf->st_size = ALIGN_SUP(sbuf->st_size, 4); + version = image_get_version(); switch (version) { /* |
