[U-Boot] Set TEXT_BASE via <project>.h file?

Wolfgang Wegner wolfgang at leila.ping.de
Thu Jan 28 12:52:53 CET 2010


Hi Andreas,

On Thu, Jan 28, 2010 at 12:31:44PM +0100, A. Geisreiter wrote:
> Hi,
> 
> I have a question to the TEXT_BASE setting in the config.mk file. Is it
> possible to set TEXT_BASE via a setting in the <project>.h file?

yes, it is.

In my <project>.h I set:
#define CONFIG_TEXT_BASE		0x40020000
(depending on some CONFIG_MK_... variable)

and in config.mk:
TEXT_BASE=$(CONFIG_TEXT_BASE)

Of course there may be other possibilities, but I found this one to
work after setting TEXT_BASE directly in <project>.h failed.

Regards,
Wolfgang



More information about the U-Boot mailing list