
Dear Tuma,
In message 200908131326.20857.chernigovskiy@spb.gs.ru you wrote:
I have LCD drivers from TI for OMAP3 evm board. I need to include this files to my current u-boot. I have .h and .c files with some functional I need. I want to call some functions implemented in this files from main_loop (). I
You definitely do NOT want to do that. the main_loop is the command interpreter. Don't mess with that code.
put .h files in the "include" directory, adn .c files to the "drivers" directory. Then I include appropriate .h file in main.c, compile and get error: "/root/GS/Taimen/U-Boot-Upgrader/common/main.c:343: undefined reference to `enable_lcd_power'".
What do I do wrong? How new files should be added to the project?
You also have to make sure these files get linked, so check the parts of the Makefiles that include objects into the respective libraries.
Best regards,
Wolfgang Denk