diff options
Diffstat (limited to 'chip/mec1322/util/pack_ec.py')
-rwxr-xr-x | chip/mec1322/util/pack_ec.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chip/mec1322/util/pack_ec.py b/chip/mec1322/util/pack_ec.py index 46aebe5564..360b7a5914 100755 --- a/chip/mec1322/util/pack_ec.py +++ b/chip/mec1322/util/pack_ec.py @@ -143,8 +143,8 @@ def main(): help="PEM key file for signing payload", default="rsakey_sign_payload.pem") parser.add_argument("-s", "--spi_size", type=int, - help="Size of the SPI flash in MB", - default=4) + help="Size of the SPI flash in KB", + default=4096) parser.add_argument("-l", "--header_loc", type=int, help="Location of header in SPI flash", default=0x170000) @@ -162,7 +162,7 @@ def main(): default=0xb) args = parser.parse_args() - spi_size = args.spi_size * 1024 * 1024 + spi_size = args.spi_size * 1024 spi_list = [] payload = GetPayload(args.input) |