blob: 024b46ef8bc28bd8f6085cc9cc290b719b37fd66 [file] [log] [blame]
Peng Fanc47e09d2019-12-30 17:46:21 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
4 */
5
Simon Glassed38aef2020-05-10 11:40:03 -06006#include <env.h>
Peng Fanc47e09d2019-12-30 17:46:21 +08007
Peng Fan4f0c97b2020-12-25 16:16:34 +08008int board_init(void)
9{
Fabio Estevam1fab6f52023-10-19 18:51:12 -030010 return 0;
Peng Fan4f0c97b2020-12-25 16:16:34 +080011}
Peng Fanc47e09d2019-12-30 17:46:21 +080012
13int board_late_init(void)
14{
15#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
16 env_set("board_name", "EVK");
17 env_set("board_rev", "iMX8MP");
18#endif
19
20 return 0;
21}