blob: 388d99106db254e44d2c124268581dcd6914e388 [file] [log] [blame]
Peng Fane2c76432024-10-23 12:03:17 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2024 NXP
4 */
5
6#include <env.h>
7#include <init.h>
8#include <miiphy.h>
9#include <netdev.h>
10#include <asm/arch/sys_proto.h>
11
12int board_init(void)
13{
14 return 0;
15}
16
17int board_late_init(void)
18{
19#ifdef CONFIG_ENV_IS_IN_MMC
20 board_late_mmc_env_init();
21#endif
22
23 env_set("sec_boot", "no");
24#ifdef CONFIG_AHAB_BOOT
25 env_set("sec_boot", "yes");
26#endif
27
28#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
29 env_set("board_name", "9X9_QSB");
30 env_set("board_rev", "iMX93");
31#endif
32 return 0;
33}