summaryrefslogtreecommitdiff
path: root/board/gdsys
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-12-21 14:20:11 +0300
committerStefan Roese <sr@denx.de>2022-01-14 09:47:57 +0300
commit8f9e0f4d207e7bb65173c7cd00d91946cfb838a7 (patch)
tree125ef7ac4641b55dcd123e0d9a7c895a5b1bb749 /board/gdsys
parent25711b07ca1dcf73dc41b45ca040dadbcff0fa08 (diff)
downloadu-boot-8f9e0f4d207e7bb65173c7cd00d91946cfb838a7.tar.xz
arm: mvebu: Convert board_pex_config() to CONFIG_SPL_BOARD_INIT
The only user of board_pex_config() weak function is A385 controlcenterdc board. It looks like that code in its board_pex_config() function needs to be executed after PCIe link is up. Therefore put this code into spl_board_init() function which is called after a38x serdes initialization, and therefore it is after the serdes hws_pex_config() function finishes (which is the state before this change). With this change completely remove board_pex_config() function as it is not used anymore. Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'board/gdsys')
-rw-r--r--board/gdsys/a38x/controlcenterdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gdsys/a38x/controlcenterdc.c b/board/gdsys/a38x/controlcenterdc.c
index dc424f271c..243d022326 100644
--- a/board/gdsys/a38x/controlcenterdc.c
+++ b/board/gdsys/a38x/controlcenterdc.c
@@ -94,7 +94,7 @@ int hws_board_topology_load(struct serdes_map **serdes_map_array, u8 *count)
return 0;
}
-void board_pex_config(void)
+void spl_board_init(void)
{
#ifdef CONFIG_SPL_BUILD
uint k;