tools: patch-image: Added optional size option
authorVishnu Swaroop Duddu <duddu.swaroop@intel.com>
Thu, 12 May 2016 14:37:29 +0000 (20:07 +0530)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 21 Jun 2016 19:58:07 +0000 (21:58 +0200)
commitee613097bee89eec370c2118614ac39f65ea1f21
treebc3315a7a66f93cad8f2c985e70442b7c32f6b18
parent63cb2fb88d3c4f919a00743b1fdbed1cf977d935
tools: patch-image: Added optional size option

Added optional command line option for patch-image tool
Default 16KB size is still maintained as this is an optional argument.
if one wants to specify or increase size they can provide this option.
sample usage: patch-dtb <file> <dtb> [dtb max size]

Signed-off-by: Vishnu Swaroop Duddu <duddu.swaroop@intel.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
tools/patch-image/src/patch-cmdline.c
tools/patch-image/src/patch-dtb.c