summaryrefslogtreecommitdiff
path: root/3rdparty
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2020-05-26 22:13:09 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-06-02 07:20:12 +0000
commitd09459fe30bb9876ca72ba5a34024cfbb2f98e79 (patch)
treedce5efd01d169b8bddeff8d95696047b43e7b208 /3rdparty
parent9b110bf97ae1da0eb60e76df6957fae044d71554 (diff)
util/sconfig: Refactor and fix add_register()
add_register() contained a duplicate check but only compared the new key to the first (smallest in order) list member. Fix that and factor the list handling out so it can be used by other functions. Change-Id: I5a8346f36fa024351e1282c9681868ecf451b283 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41743 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to '3rdparty')
0 files changed, 0 insertions, 0 deletions