summaryrefslogtreecommitdiff
path: root/board/engicam
diff options
context:
space:
mode:
authorMichael Trimarchi <michael@amarulasolutions.com>2018-06-23 16:10:07 +0200
committerStefano Babic <sbabic@denx.de>2018-07-23 10:51:14 +0200
commit3058879982ec2ad0a53222dd3a518fb609ca7ae7 (patch)
tree8d67edcd789518179c2613d0e3edb4c04184be63 /board/engicam
parent4a72abcb71d9be773df438f237cc95c2ed399295 (diff)
downloadu-boot-3058879982ec2ad0a53222dd3a518fb609ca7ae7.tar.gz
u-boot-3058879982ec2ad0a53222dd3a518fb609ca7ae7.tar.bz2
u-boot-3058879982ec2ad0a53222dd3a518fb609ca7ae7.zip
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 <michael@amarulasolutions.com> Acked-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'board/engicam')
-rw-r--r--board/engicam/common/spl.c3
1 files changed, 2 insertions, 1 deletions
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);