blob: d5f5e310b6b63dabde1f47c5da389d9a83754dbd [file] [log] [blame]
Ye Lif3c8abb2025-04-28 18:37:43 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2025 NXP
4 */
5
6#include <asm/arch/clock.h>
7#include <asm/gpio.h>
8#include <asm/mach-imx/sys_proto.h>
9
10int board_early_init_f(void)
11{
12 /* UART1: A55, UART2: M33, UART3: M7 */
13 init_uart_clk(0);
14
15 return 0;
16}
17
18int board_init(void)
19{
20 return 0;
21}
22
23int board_late_init(void)
24{
25 if (IS_ENABLED(CONFIG_ENV_IS_IN_MMC))
26 board_late_mmc_env_init();
27
28 return 0;
29}
30
31int board_phys_sdram_size(phys_size_t *size)
32{
33 *size = PHYS_SDRAM_SIZE + PHYS_SDRAM_2_SIZE;
34
35 return 0;
36}