Commit 24aaaf8b by Jose Miquel Sanabria

Environment support

parent c4fcc045
......@@ -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
......
......@@ -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
......
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment