summaryrefslogtreecommitdiff
path: root/board/freescale/imx8mn_evk/imx8mn_evk.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-11-12 15:18:23 +0300
committerTom Rini <trini@konsulko.com>2019-11-12 15:18:23 +0300
commit5f7ff6d63eeb81ad2c071ff5f5adae5bcc94f7a4 (patch)
treeeb3707f7e5b4ae1d0f3094cc8814ef8bc389aa8c /board/freescale/imx8mn_evk/imx8mn_evk.c
parenta965a8b904093c9e6790d0460d18a144cefa5e42 (diff)
parentbdcf3a88cc582ce8bb9ea024fa917d9a52e05479 (diff)
downloadu-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.c29
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;
+}