diff options
author | Pali Rohár <pali@kernel.org> | 2021-12-21 12:20:11 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-01-14 07:47:57 +0100 |
commit | 8f9e0f4d207e7bb65173c7cd00d91946cfb838a7 (patch) | |
tree | 125ef7ac4641b55dcd123e0d9a7c895a5b1bb749 /configs/controlcenterdc_defconfig | |
parent | 25711b07ca1dcf73dc41b45ca040dadbcff0fa08 (diff) | |
download | u-boot-8f9e0f4d207e7bb65173c7cd00d91946cfb838a7.tar.gz u-boot-8f9e0f4d207e7bb65173c7cd00d91946cfb838a7.tar.bz2 u-boot-8f9e0f4d207e7bb65173c7cd00d91946cfb838a7.zip |
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 'configs/controlcenterdc_defconfig')
-rw-r--r-- | configs/controlcenterdc_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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 |