summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>2018-01-23 17:59:52 +0100
committerJose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>2018-01-23 17:59:52 +0100
commit24aaaf8b8cd998d21b4d2f04eba0e9ba7111d332 (patch)
tree19792981713bfa821b15121228324712ebc46854
parentc4fcc0456516588a2a85267bfe3f856c68b1091c (diff)
downloadu-boot-imx-24aaaf8b8cd998d21b4d2f04eba0e9ba7111d332.zip
u-boot-imx-24aaaf8b8cd998d21b4d2f04eba0e9ba7111d332.tar.gz
u-boot-imx-24aaaf8b8cd998d21b4d2f04eba0e9ba7111d332.tar.bz2
Environment support
-rw-r--r--board/isee/igep0046/igep0046.c2
-rw-r--r--configs/mx6dl_igep0046_2G_defconfig2
-rw-r--r--include/configs/igep0046.h1
3 files changed, 3 insertions, 2 deletions
diff --git a/board/isee/igep0046/igep0046.c b/board/isee/igep0046/igep0046.c
index 40a3d5f..6c82bde 100644
--- a/board/isee/igep0046/igep0046.c
+++ b/board/isee/igep0046/igep0046.c
@@ -468,7 +468,7 @@ int board_init(void)
}else{
printf("crc32 OK! Loading mac\n");
- eth_setenv_enetaddr("ethaddr",igep0046_eeprom_config.bmac0)
+ eth_setenv_enetaddr("ethaddr", (uint8_t *) igep0046_eeprom_config.bmac0);
}
}
#endif
diff --git a/configs/mx6dl_igep0046_2G_defconfig b/configs/mx6dl_igep0046_2G_defconfig
index c7305a6..805d2f6 100644
--- a/configs/mx6dl_igep0046_2G_defconfig
+++ b/configs/mx6dl_igep0046_2G_defconfig
@@ -3,7 +3,7 @@ CONFIG_ARCH_MX6=y
CONFIG_TARGET_IGEP0046=y
CONFIG_SYS_MALLOC_F=y
CONFIG_SYS_MALLOC_F_LEN=0x400
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/isee/igep0046/mx6dl_igep0046_4x512_nt.cfg,MX6DL,ENV_IS_NOWHERE"
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/isee/igep0046/mx6dl_igep0046_4x512_nt.cfg,MX6DL"
CONFIG_BOOTDELAY=2
CONFIG_CMD_BOOTM=n
CONFIG_CMD_BOOTD=n
diff --git a/include/configs/igep0046.h b/include/configs/igep0046.h
index 9d33b9f..f54bebc 100644
--- a/include/configs/igep0046.h
+++ b/include/configs/igep0046.h
@@ -147,6 +147,7 @@
/* Environment */
#define CONFIG_ENV_SIZE (8 * 1024)
#define CONFIG_ENV_IS_IN_MMC
+#define CONFIG_SYS_MMC_ENV_DEV 0
#endif /* __IGEP0046_CONFIG_H */