]> git.baikalelectronics.ru Git - uboot.git/commit
bootstd: Allow storing x86 setup information
authorSimon Glass <sjg@chromium.org>
Wed, 12 Jul 2023 15:04:36 +0000 (09:04 -0600)
committerBin Meng <bmeng@tinylab.org>
Sun, 16 Jul 2023 15:13:17 +0000 (23:13 +0800)
commit73939d3b0ebd7d33997d24521786427df8101eb4
tree6b61cdb82de189a3db9a6a31be606334fd274d2e
parentaeefa684293392475a26ad0aa54e8b83b32113e6
bootstd: Allow storing x86 setup information

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>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/bootflow.c
include/bootflow.h