[PATCH v2 08/19] bootstd: Allow storing x86 setup information
Bin Meng
bmeng.cn at gmail.com
Wed Jul 12 13:47:58 CEST 2023
On Tue, Jun 20, 2023 at 4:24 PM Simon Glass <sjg at 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 at 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 at gmail.com>
More information about the U-Boot
mailing list