Provide an option to dump this information if available.

Move the funciion prototype to the common x86 header. Allow the command
line to be left out since 'bootflow info' show this itself and it is
not in the correct place in memory until the kernel is actually booted.

Fix a badly aligned heading while we are here.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 arch/x86/include/asm/zimage.h | 10 ------
 arch/x86/lib/zimage.c         |  8 ++---
 cmd/bootflow.c                | 14 +++++++--
 doc/usage/cmd/bootflow.rst    | 59 ++++++++++++++++++++++++++++++++++-
 include/bootflow.h            |  2 +-
 include/bootm.h               | 11 +++++++
 6 files changed, 86 insertions(+), 18 deletions(-)

Applied to u-boot-dm/next, thanks!

Reply via email to