diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-04 19:59:14 +0300 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-11-06 04:51:34 +0300 |
commit | 7c79eddbec32d8258df701d95d8b432f9835110b (patch) | |
tree | ede22c32cfb03446f3a5858bae0532f747f9b5bc /configs/sandbox_defconfig | |
parent | b73d61a5565c3ab9e207a288186049806ce13e1b (diff) | |
download | u-boot-7c79eddbec32d8258df701d95d8b432f9835110b.tar.xz |
x86: zimage: Sanity-check the kernel version before printing it
With Chrome OS the kernel setup block is stored in a separate place from
the kernel, so it is not possible to access the kernel version string.
At present, garbage is printed.
Add a sanity check to avoid this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'configs/sandbox_defconfig')
0 files changed, 0 insertions, 0 deletions