image: Align all images (not only mmc and kernel)

This commit is contained in:
Pali Rohár committed 2012-11-23 22:07:48 +01:00
1 parent ae03494a73
commit 1ebc2b8308
1 file changed
+3 -3
+3 -3
View File
@@ -215,10 +215,10 @@ static void image_align(struct image * image) {
size_t align = 0;
if ( image->type == IMAGE_KERNEL)
align = 7;
else if ( image->type == IMAGE_MMC )
if ( image->type == IMAGE_MMC )
align = 8;
else
align = 7;
if ( align == 0 )
return;