summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorPandya, Varshit B <varshit.b.pandya@intel.com>2019-07-01 16:27:01 +0530
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2019-07-01 13:44:48 +0000
commit36cc664bc749a650012e41321e9a1cac3abdbd54 (patch)
tree8232288716e33ce125023f2ed7a0b48e610395b6 /.clang-format
parentb6b5e7fb455933bc2e077e7881e6b907cb9d7571 (diff)
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>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions