From: Michael Trimarchi Date: Sat, 23 Jun 2018 14:10:07 +0000 (+0200) Subject: i.MX6: engicam: gpr_init can be called only for some architecture X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=3058879982ec2ad0a53222dd3a518fb609ca7ae7;p=u-boot.git i.MX6: engicam: gpr_init can be called only for some architecture Fix an invalid usage of the gpr_init function for the imx6ul architecture Signed-off-by: Michael Trimarchi Acked-by: Jagan Teki --- diff --git a/board/engicam/common/spl.c b/board/engicam/common/spl.c index 1a1fe6c66a..4d293c8032 100644 --- a/board/engicam/common/spl.c +++ b/board/engicam/common/spl.c @@ -414,7 +414,8 @@ void board_init_f(ulong dummy) /* setup AIPS and disable watchdog */ arch_cpu_init(); - gpr_init(); + if (!(is_mx6ul())) + gpr_init(); /* iomux */ SETUP_IOMUX_PADS(uart_pads);