Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * Copyright 2019 NXP | ||||
4 | */ | ||||
5 | |||||
Simon Glass | ed38aef | 2020-05-10 11:40:03 -0600 | [diff] [blame] | 6 | #include <env.h> |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 7 | |
Peng Fan | 4f0c97b | 2020-12-25 16:16:34 +0800 | [diff] [blame] | 8 | int board_init(void) |
9 | { | ||||
Fabio Estevam | 1fab6f5 | 2023-10-19 18:51:12 -0300 | [diff] [blame] | 10 | return 0; |
Peng Fan | 4f0c97b | 2020-12-25 16:16:34 +0800 | [diff] [blame] | 11 | } |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 12 | |
13 | int 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 | } |