commit | f861b1ee70aafff68a9a1ecbffb0bc79b71d13eb | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Jul 30 11:16:57 2023 -0600 |
committer | Simon Glass <sjg@chromium.org> | Thu Aug 10 18:34:54 2023 -0600 |
tree | 1e40a760cc76fc45f296fcc2f39fd26904f2c296 | |
parent | 76bd6844dcfeb1a7d2f529c2f715b34f4e574229 [diff] |
bootstd: cros: Add a function to read info from partition The code to read the ChromiumOS information from the partition is currently all in one function. It reads the entire kernel, which is unnecessary unless it is to be booted. Create a new function which reads just the minimum required data from the disk, then obtains what it needs from there. For now this function is not used. Future work will plumb it in. Signed-off-by: Simon Glass <sjg@chromium.org>