Dear Kumar Gala, In message <1252514873-7782-1-git-send-email-ga...@kernel.crashing.org> you wrote: > Some board ports place TEXT_BASE at a location that would cause the > RESET_VECTOR_ADDRESS not to be at 0xfffffffc when we link. By default > we assume RESET_VECTOR_ADDRESS will be 0xfffffffc if the board doesn't > explicitly set it. > > Signed-off-by: Kumar Gala <ga...@kernel.crashing.org> > --- > board/freescale/mpc8536ds/config.mk | 2 ++ > board/freescale/mpc8572ds/config.mk | 2 ++ > board/freescale/p1_p2_rdb/config.mk | 2 ++ > board/freescale/p2020ds/config.mk | 2 ++ > cpu/mpc85xx/u-boot.lds | 10 +++++++--- > 5 files changed, 15 insertions(+), 3 deletions(-) > > diff --git a/board/freescale/mpc8536ds/config.mk > b/board/freescale/mpc8536ds/config.mk > index f030876..c5fe1ba 100644 > --- a/board/freescale/mpc8536ds/config.mk > +++ b/board/freescale/mpc8536ds/config.mk > @@ -26,3 +26,5 @@ > ifndef TEXT_BASE > TEXT_BASE = 0xeff80000 > endif > + > +PLATFORM_CPPFLAGS += -DRESET_VECTOR_ADDRESS=0xeffffffc
I suggest we handle this the same way as we do with TEXT_BASE, i. e. only add a "RESET_VECTOR_ADDRESS=0xeffffffc" in the board config. The auto-export it to the preprocessor in the toplevel config.mk as done for TEXT_BASE. 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 "I believe the use of noise to make music will increase until we reach a music produced through the aid of electrical instruments which will make available for musical purposes any and all sounds that can be heard." - composer John Cage, 1937 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot