mkimage: Pass layout to mkimage_generate_elfXX rather than some fields.
authorVladimir Serbinenko <phcoder@gmail.com>
Mon, 8 May 2017 15:32:15 +0000 (17:32 +0200)
committerVladimir Serbinenko <phcoder@gmail.com>
Mon, 8 May 2017 15:32:15 +0000 (17:32 +0200)
commita35ac854308b0af7c86c2c7b199f6abdfa2110b0
treef955b5a92623e032e417f43b7d21490889bd02ec
parentd9f7de0ae3c0c09cff7257c55418450261f3e082
mkimage: Pass layout to mkimage_generate_elfXX rather than some fields.

This allows easier extension of this function without having too long of
arguments list.
include/grub/util/mkimage.h
util/grub-mkimagexx.c
util/mkimage.c