[PATCH] board_r: Remove duplicate headers

Peter Robinson pbrobinson at gmail.com
Wed Oct 23 09:25:22 CEST 2024


On Wed, 23 Oct 2024 at 06:28, Ilias Apalodimas
<ilias.apalodimas at linaro.org> wrote:
>
> efi_loader.h is included twice. Remove one and move the other in
> alphabetical order
>
> Signed-off-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
Reviewed-by: Peter Robinson <pbrobinson at gmail.com>

LGTM

> ---
>  common/board_r.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/common/board_r.c b/common/board_r.c
> index e5f33f40643b..61b15d01c25f 100644
> --- a/common/board_r.c
> +++ b/common/board_r.c
> @@ -32,6 +32,7 @@
>  #include <command.h>
>  #include <console.h>
>  #include <dm.h>
> +#include <efi_loader.h>
>  #include <env.h>
>  #include <env_internal.h>
>  #include <fdtdec.h>
> @@ -63,10 +64,8 @@
>  #include <dm/ofnode.h>
>  #include <linux/compiler.h>
>  #include <linux/err.h>
> -#include <efi_loader.h>
>  #include <wdt.h>
>  #include <asm-generic/gpio.h>
> -#include <efi_loader.h>
>  #include <relocate.h>
>
>  DECLARE_GLOBAL_DATA_PTR;
> --
> 2.45.2
>


More information about the U-Boot mailing list