[U-Boot] BMP display.

Wolfgang Denk wd at denx.de
Thu Aug 13 11:45:11 CEST 2009


Dear Tuma,

In message <200908131326.20857.chernigovskiy at 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

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Wish not to seem, but to be, the best."                  - Aeschylus


More information about the U-Boot mailing list