summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2021-10-30 12:09:07 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-11-11 14:40:45 +0000
commit5164e4b03f8f05917e869456d481d0fd0ae3a69b (patch)
tree85e461b55d770dbd2439031fe2467e09c6d3cec6 /src/mainboard
parent66f2cbb19506b8740895f2d3c61319d3b5fcb168 (diff)
amdfwtool: Pack out-of-bounds check into a function and move
Need to check the FWs number limit several times. So pack the duplicated steps into a function. And do it before access the new entry. Change-Id: I71117d1c817c0b6ddaea4ea47aea91672cc6d55a Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58764 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard')
0 files changed, 0 insertions, 0 deletions