summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmri Itach <omrii@marvell.com>2017-08-03 13:32:15 +0300
committerKostya Porotchkin <kostap@marvell.com>2017-08-03 15:45:30 +0300
commit79d66cf2dd7b084d652d07435ee1f700642757d2 (patch)
tree840af86fe0c57a3d29d3fc11c3e2472215c62a74
parent8820d2c9d4b63a2876659631269959a47e3a3c43 (diff)
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 <omrii@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/42546 Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
-rw-r--r--plat/marvell/a8k/a70x0_pcac/board/marvell_plat_config.c12
1 files 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