karo: tx6ul: disable the PMIC for '_noenv' U-Boot KARO-TX6-2016-04-26
authorLothar Waßmann <LW@KARO-electronics.de>
Tue, 26 Apr 2016 13:33:34 +0000 (15:33 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 26 Apr 2016 13:33:34 +0000 (15:33 +0200)
commitb86a63c42e39f4eb501dc923d51d2f7703aa90c7
tree14986c348980c050b8ae8f153ee10f47ce95378d
parent0244491428a731cc3459041b600197a3de85c170
karo: tx6ul: disable the PMIC for '_noenv' U-Boot

The I2C access to the PMIC requires the TAMPER pins of the i.MX6UL to
be useable as GPIOs. This is only possible after the TAMPER_PIN_DISABLE
fuses are programmed which is usually done via U-Boot.
Resolve this catch 22 situation by disabling the PMIC in the '_noenv'
U-Boot variant which is usually used in the manufacturing
environment.
board/karo/tx6/pmic.c
board/karo/tx6/tx6ul.c
include/configs/tx6.h