bootstd: Allow display of the x86 setup information

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 <sjg@chromium.org>
This commit is contained in:
Simon Glass
2023-07-30 11:17:00 -06:00
parent 598dea978d
commit cbb607d2d9
6 changed files with 86 additions and 18 deletions

View File

@@ -108,7 +108,7 @@ struct bootflow {
ulong fdt_addr;
int flags;
char *cmdline;
char *x86_setup;
void *x86_setup;
void *bootmeth_priv;
};