From 8f9e0f4d207e7bb65173c7cd00d91946cfb838a7 Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Tue, 21 Dec 2021 12:20:11 +0100 Subject: arm: mvebu: Convert board_pex_config() to CONFIG_SPL_BOARD_INIT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- configs/controlcenterdc_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs') diff --git a/configs/controlcenterdc_defconfig b/configs/controlcenterdc_defconfig index d6844a48ac..b6eb955086 100644 --- a/configs/controlcenterdc_defconfig +++ b/configs/controlcenterdc_defconfig @@ -33,6 +33,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_BOARD_LATE_INIT=y CONFIG_LAST_STAGE_INIT=y +CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_I2C=y CONFIG_HUSH_PARSER=y -- cgit v1.2.3