Hi Igor,
Thanks for your reply.
Below are the changes in board specific header file.
#define CONFIG_ENV_IS_IN_FLASH
#define CONFIG_SYS_FLASH_BASE CONFIG_SYS_FSL_FLASH0_BASE
#define FLASH_SECTOR_SIZE 0x40000
#define CONFIG_SYS_MAX_FLASH_BANKS 1
#define CONFIG_ENV_SIZE (0x2000) /* 8 KB */
#define CONFIG_ENV_SECT_SIZE (FLASH_SECTOR_SIZE) /* 256 KB */
#define CONFIG_SYS_MAX_FLASH_SECT (0x4000000 / CONFIG_ENV_SECT_SIZE)
#define CONFIG_ENV_OFFSET 2 * CONFIG_ENV_SECT_SIZE
I have comment MMC related macros.
When i have compiled the source code am getting the below error.
u-boot/common/board_r.c:364: undefined reference to `flash_init'
common/built-in.o: In function `addr2info':
u-boot/common/flash.c:95: undefined reference to `flash_info'
u-boot/common/flash.c:163: undefined reference to `write_buff'
common/built-in.o: In function `do_env_save':
u-boot/common/cmd_nvedit.c:710: undefined reference to `saveenv'
Segmentation fault (core dumped)
Makefile:1207: recipe for target 'u-boot' failed
make: *** [u-boot] Error 139
Could you please help on this.
Thanks & Regards,
Ramanjineyulu Thota.