This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

error compiling u-boot for custom dm8168 board

Hi all, 

I want to bring up for the first time our dm8168 based custom board. I want to flash the u-boot image in the Nand flash using the CCSv5 with jtag connection, but the program nand-flash-writer.out doesn't run properly.

Also I am compilling the u-boot as is mentioned in the page https://processors.wiki.ti.com/index.php/DM816x_AM389x_PSP_U-Boot ; nevertheless I have this error:

evm.c: In function 'emif4p_init':
evm.c:407: error: 'EMIF_SDREF' undeclared (first use in this function)
evm.c:407: error: (Each undeclared identifier is reported only once
evm.c:407: error: for each function it appears in.)
evm.c: In function 'config_ti816x_sdram_ddr':
evm.c:480: error: 'EMIF_TIM1' undeclared (first use in this function)
evm.c:480: error: 'EMIF_TIM2' undeclared (first use in this function)
evm.c:480: error: 'EMIF_TIM3' undeclared (first use in this function)
evm.c:480: error: 'EMIF_SDREF' undeclared (first use in this function)
evm.c:480: error: 'EMIF_SDCFG' undeclared (first use in this function)
evm.c:480: error: 'EMIF_PHYCFG' undeclared (first use in this function)
make[1]: *** [evm.o] Error 1

Why this happens? How I can change or modify the file evm.c for no errors?

Best Regards, 

Inigo