summaryrefslogtreecommitdiff
path: root/drivers/timer/mpc83xx_timer.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-04 09:59:14 -0700
committerBin Meng <bmeng.cn@gmail.com>2020-11-06 09:51:34 +0800
commit7c79eddbec32d8258df701d95d8b432f9835110b (patch)
treeede22c32cfb03446f3a5858bae0532f747f9b5bc /drivers/timer/mpc83xx_timer.c
parentb73d61a5565c3ab9e207a288186049806ce13e1b (diff)
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 'drivers/timer/mpc83xx_timer.c')
0 files changed, 0 insertions, 0 deletions