commit | dff4e865eeb218ba842483166b90f1f5a25ef1bd | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Feb 04 21:17:18 2021 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sat Feb 06 19:18:41 2021 +0800 |
tree | 68d44ccb12272a2521843638713d8e00b6fe5864 | |
parent | 8e5ddb0eb0192ecc9765e7351baf137ca6d674e4 [diff] |
smbios: Drop the eos parameter We can store this in the context and avoid passing it to each function. This makes it easier to follow and will also allow keeping track of the end of the string table (in future patches). Add an 'eos' field to the context and create a function to set it up. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>