]> git.baikalelectronics.ru Git - uboot.git/commit
imx: imx6: perform gpr_init only on suitable cpu types
authorChristoph Niedermaier <cniedermaier@dh-electronics.de>
Fri, 19 Oct 2018 15:40:54 +0000 (17:40 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 8 Nov 2018 13:35:40 +0000 (14:35 +0100)
commit54392d96198938bdd14001648c05d8fb9548a6dc
tree49203dd0de3a505bf66f6f54d45da86d18ba42dc
parent4c662c3e29234db169a53268f3ccf93c1812aab0
imx: imx6: perform gpr_init only on suitable cpu types

If the function gpr_init is used in a common MX6 spl
implementation we have to ensure that it is only called for
suitable cpu types, otherwise it breaks hardware parts like
enet1, can1, can2, etc.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.de>
arch/arm/mach-imx/mx6/soc.c