smbios: Track the end of the string table
authorSimon Glass <sjg@chromium.org>
Fri, 5 Feb 2021 04:17:19 +0000 (21:17 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sat, 6 Feb 2021 11:20:23 +0000 (19:20 +0800)
commitfd3b826da8faabdf288de8e4ff8ce020cf6d9391
tree3e93bbcc66094f975d60c89c9ded254fb83cbbee
parent0c95fff342239c4e7574f8578713ed2b694c5ada
smbios: Track the end of the string table

Add a new member to the context struct which tracks the end of the string
table. This allows us to avoid recalculating this at the end.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
lib/smbios.c