On Tue, Jun 20, 2023 at 4:24 PM Simon Glass <[email protected]> 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 <[email protected]>
> ---
>
> 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 <[email protected]>

Reply via email to