rcar_gen3: drivers: cpld: fix power-off on reset
rcar_gen3: drivers: cpld: fix power-off on reset

Method cpld_reset_cpu of bl31 is called from the Linux kernel and uses
GPIO6, GPIO2 pins as SPI bus lines to control the CPLD device. But in the
kernel GPIO6_8 pin are initialized to work in interrupt mode instead of
the input/output mode. This leads to the fact that the SPI bus becomes
non-functional. In this patch we switch the GPIO6_8 pin back to the
input-output mode.

Signed-off-by: Sergii Boryshchenko <a3c56c0404e5da531e6617002275279df59b5dc7@globallogic.com>
Signed-off-by: Marek Vasut <bcf2901fa1b128a7a3f88ee031c46807a29aa29d@gmail.com>

achingupta/arm-trusted-firmware,achingupta/arm-trusted-firmware