]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit7eec8df67e17f782bc730cd6f7d2a0769c6372a7
tree3e93bbcc66094f975d60c89c9ded254fb83cbbee
parentcd479805b7095e6b70413735016abffa1d14350d
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