diff options
author | Tom Rini <trini@konsulko.com> | 2019-11-12 15:18:23 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-11-12 15:18:23 +0300 |
commit | 5f7ff6d63eeb81ad2c071ff5f5adae5bcc94f7a4 (patch) | |
tree | eb3707f7e5b4ae1d0f3094cc8814ef8bc389aa8c /board/freescale/imx8mn_evk/imx8mn_evk.c | |
parent | a965a8b904093c9e6790d0460d18a144cefa5e42 (diff) | |
parent | bdcf3a88cc582ce8bb9ea024fa917d9a52e05479 (diff) | |
download | u-boot-5f7ff6d63eeb81ad2c071ff5f5adae5bcc94f7a4.tar.xz |
Merge tag 'u-boot-imx-20191105' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
u-boot-imx-20191105
-------------------
i.MX8MN SoC support
ROM API image download support
i.MX8MM enet enabling
Diffstat (limited to 'board/freescale/imx8mn_evk/imx8mn_evk.c')
-rw-r--r-- | board/freescale/imx8mn_evk/imx8mn_evk.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/board/freescale/imx8mn_evk/imx8mn_evk.c b/board/freescale/imx8mn_evk/imx8mn_evk.c new file mode 100644 index 0000000000..b22a2a6bd1 --- /dev/null +++ b/board/freescale/imx8mn_evk/imx8mn_evk.c @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2019 NXP + */ + +#include <common.h> + +DECLARE_GLOBAL_DATA_PTR; + +int dram_init(void) +{ + gd->ram_size = PHYS_SDRAM_SIZE; + + return 0; +} + +int board_init(void) +{ + return 0; +} + +int board_late_init(void) +{ +#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG + env_set("board_name", "DDR4 EVK"); + env_set("board_rev", "iMX8MN"); +#endif + return 0; +} |