[U-Boot] [PATCH 2/2] i.MX6: engicam: gpr_init can be called only for some architecture

Jagan Teki jagannadh.teki at gmail.com
Sun Jun 24 17:34:57 UTC 2018


On Sat, Jun 23, 2018 at 7:40 PM, Michael Trimarchi
<michael at amarulasolutions.com> wrote:
> Fix an invalid usage of the gpr_init function for the imx6ul
> architecture
>
> Signed-off-by: Michael Trimarchi <michael at amarulasolutions.com>
> ---
>  board/engicam/common/spl.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/board/engicam/common/spl.c b/board/engicam/common/spl.c
> index 470d96a..69d1c11 100644
> --- a/board/engicam/common/spl.c
> +++ b/board/engicam/common/spl.c
> @@ -410,7 +410,8 @@ void board_init_f(ulong dummy)
>         /* setup AIPS and disable watchdog */
>         arch_cpu_init();
>
> -       gpr_init();
> +       if (!(is_mx6ul()))
> +               gpr_init();

Acked-by: Jagan Teki <jagan at amarulasolutions.com>


More information about the U-Boot mailing list