mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 12:46:14 +02:00
toradex: smarc-imx95: Drop init_uart_clk
Rely on serial driver calling clk_enable to enable the lpuart clk, no need to do init_uart_clk in board_early_init_f(). Also remove board_early_init_f(), because it is empty now. Signed-off-by: Peng Fan <peng.fan@nxp.com> Acked-by: Francesco Dolcini <francesco.dolcini@toradex.com>
This commit is contained in:
parent
7412a1dbaf
commit
650b381d27
@ -8,14 +8,6 @@
|
||||
|
||||
#include "../common/tdx-cfg-block.h"
|
||||
|
||||
int board_early_init_f(void)
|
||||
{
|
||||
/* UART1: A55 */
|
||||
init_uart_clk(0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int board_phys_sdram_size(phys_size_t *size)
|
||||
{
|
||||
*size = PHYS_SDRAM_SIZE + PHYS_SDRAM_2_SIZE;
|
||||
|
||||
@ -105,8 +105,6 @@ void board_init_f(ulong dummy)
|
||||
|
||||
arch_cpu_init();
|
||||
|
||||
board_early_init_f();
|
||||
|
||||
preloader_console_init();
|
||||
|
||||
debug("SOC: 0x%x\n", gd->arch.soc_rev);
|
||||
|
||||
@ -43,7 +43,6 @@ CONFIG_SYS_PBSIZE=2074
|
||||
CONFIG_LOG=y
|
||||
# CONFIG_DISPLAY_BOARDINFO is not set
|
||||
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
||||
CONFIG_BOARD_EARLY_INIT_F=y
|
||||
# CONFIG_BOARD_INIT is not set
|
||||
CONFIG_SPL_MAX_SIZE=0x30000
|
||||
CONFIG_SPL_BOARD_INIT=y
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user