Dear Haiying Wang,

In message <1289337782.2168.148.ca...@haiying-laptop> you wrote:
>
> > Assuming that your code really needs to know the start address of the
> > image, it should probably do something like this instead:
> > 
> > #ifdef NAND_SPL
> > #define CONFIG_SYS_TEXT_BASE xxx
> > #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
> > #else
> > #define CONFIG_SYS_TEXT_BASE yyy
> > #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
> > #endif
> > 
> This doesn't make sense if there is still one autoconfig.mk. The value
> for CONFIG_SYS_TEXT_BASE will always be yyy for NAND_SPL.

right. Sorry, I copied the wrong lines.

What I meant was this:

    #ifdef NAND_SPL
    #define CONFIG_SYS_TEXT_BASE_SPL xxx
    #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE_SPL
    #else
    #define CONFIG_SYS_TEXT_BASE yyy
    #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
    #endif


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: w...@denx.de
Q: What do you get when you cross an ethernet with an income statement?
A: A local area networth.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to