From 79d66cf2dd7b084d652d07435ee1f700642757d2 Mon Sep 17 00:00:00 2001 From: Omri Itach Date: Thu, 3 Aug 2017 13:32:15 +0300 Subject: fix: a70x0_pcac: disable unsupported u-boot recovery button A70x0-PCAC board doesn't support U-Boot recovery button. this button is triggering GPIO-in signal, and used to instruct ATF to boot secondery U-Boot image from flash, for recovery in case first U-Boot isn't functional. on A7k-PCAC this MPP is part of the RGMII mpp's, and once RGMII port was connected, it triggered by mistake this GPIO recovery signal, and this affected boot from UART which eventually didn't work. Change-Id: Icb5e66838358d6d89765a683d19aca02bb443f04 Signed-off-by: Omri Itach Reviewed-on: http://vgitil04.il.marvell.com:8080/42546 Tested-by: iSoC Platform CI Reviewed-by: Kostya Porotchkin --- plat/marvell/a8k/a70x0_pcac/board/marvell_plat_config.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/plat/marvell/a8k/a70x0_pcac/board/marvell_plat_config.c b/plat/marvell/a8k/a70x0_pcac/board/marvell_plat_config.c index beced658..4d308cd0 100644 --- a/plat/marvell/a8k/a70x0_pcac/board/marvell_plat_config.c +++ b/plat/marvell/a8k/a70x0_pcac/board/marvell_plat_config.c @@ -178,17 +178,9 @@ struct pci_hw_cfg *plat_get_pcie_hw_data(void) * SKIP IMAGE Configuration ******************************************************************************/ -struct skip_image skip_im = { - .detection_method = GPIO, - .info.gpio.num = 33, - .info.gpio.button_state = HIGH, - .info.test.cp_ap = CP, - .info.test.cp_index = 0, -}; - void *plat_get_skip_image_data(void) { - /* Return the skip_image configurations */ - return &skip_im; + /* No recovery button on A7k-PCAC board */ + return NULL; } #endif -- cgit