mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 11:24:42 +00:00
imx: imx8mn_evk: Enable dynamic settings to mmcdev and mmcroot
Enable dynamic settings to mmcdev and mmcroot for i.MX8MN-EVK Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
07d5afc562
commit
35e43f7f75
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
* Copyright 2019 NXP
|
||||
*/
|
||||
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/io.h>
|
||||
#include <env.h>
|
||||
#include <init.h>
|
||||
|
@ -30,6 +31,10 @@ int board_init(void)
|
|||
|
||||
int board_late_init(void)
|
||||
{
|
||||
#if CONFIG_IS_ENABLED(ENV_IS_IN_MMC)
|
||||
board_late_mmc_env_init();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
|
||||
env_set("board_name", "DDR4 EVK");
|
||||
env_set("board_rev", "iMX8MN");
|
||||
|
|
Loading…
Add table
Reference in a new issue