[PATCH 02/11] sandbox: Migrate getopt section to linker list

Simon Glass sjg at chromium.org
Mon Apr 11 20:35:36 CEST 2022


On Thu, 7 Apr 2022 at 03:41, Andrew Scull <ascull at google.com> wrote:
>
> Use the common infrastructure to create a linker list of the sandbox
> command line flags rather than using a custom method.
>
> The list is changed from containing pointers to containing structs and
> the uses are updated accordingly.
>
> Signed-off-by: Andrew Scull <ascull at google.com>
> ---
>  arch/sandbox/cpu/os.c               | 21 ++++++++++-----------
>  arch/sandbox/cpu/start.c            | 10 +++++-----
>  arch/sandbox/cpu/u-boot-spl.lds     |  6 ------
>  arch/sandbox/cpu/u-boot.lds         |  6 ------
>  arch/sandbox/include/asm/getopt.h   | 19 ++++++++++++-------
>  arch/sandbox/include/asm/sections.h | 25 -------------------------
>  6 files changed, 27 insertions(+), 60 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list