Pandya, Varshit B 36cc664bc7 util/cbfstool/ifittool: use strtol function instead of atoi
Fix error "Invalid option -A" by adding "A" to options list.

Also, atoi does not parse hex string, for instance 0x200 is interpreted as 0,
and this causes a failure when updating second FIT table using -j option.
Use strtol instead of atoi

BUG=none
BRANCH=none
TEST=Build and boot hatch after enabling dual bootblock feature.

Change-Id: Ib227437f88ffcccda1ce2f20a9ab098e5aa091c7
Signed-off-by: Pandya, Varshit B <varshit.b.pandya@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33937
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
2019-07-01 13:44:48 +00:00
..
2018-08-28 14:20:15 +00:00
2018-08-28 14:20:15 +00:00
2018-10-08 16:57:27 +00:00
2019-06-24 09:45:00 +00:00
2018-08-28 14:20:15 +00:00
2018-08-28 14:20:15 +00:00
2018-12-19 06:05:52 +00:00
2018-08-28 14:20:15 +00:00
2013-02-04 11:12:15 +01:00
2018-06-15 09:13:24 +00:00
2019-06-26 09:19:00 +00:00
2019-06-24 09:45:00 +00:00
2018-10-08 16:57:27 +00:00
2018-08-28 14:20:15 +00:00
2019-06-24 09:42:31 +00:00
2019-06-24 09:45:00 +00:00