
12 Jul
2023
12 Jul
'23
1:47 p.m.
On Tue, Jun 20, 2023 at 4:24 PM Simon Glass sjg@chromium.org wrote:
On x86 boards Linux uses a block of binary data to provide information about the command line, memory map, etc. Provide a way to store this in the bootflow so it can be passed on to the OS.
No attempt is made to generalise the code, since other archs don't need this information. The field is present always, though, to avoid needing accessors or #ifdefs when building code on other archs.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2:
- Explain why the setup information is not behind an #ifdef
cmd/bootflow.c | 2 ++ include/bootflow.h | 2 ++ 2 files changed, 4 insertions(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com