[U-Boot] [PATCH] mpc5200: spl_boot.c: Change init oder to first enable printf

Wolfgang Denk wd at denx.de
Sat Mar 9 14:45:44 CET 2013


Dear Stefan Roese,

In message <1354801317-10736-1-git-send-email-sr at denx.de> you wrote:
> On MPC5200, the initial RAM (and gd) is located in the internal
> SRAM. So we can actually call the preloader console init code
> before calling initdram(). This makes serial output (printf)
> available very early, even before SDRAM init, which has been
> an U-Boot priciple from day 1.
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
>  arch/powerpc/cpu/mpc5xxx/spl_boot.c | 20 ++++++++++++++------
>  1 file changed, 14 insertions(+), 6 deletions(-)

Applied to u-boot-mpc5xxx repo, thanks.

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
"The best index to a person's character is a) how  he  treats  people
who can't do him any good and b) how he treats people who can't fight
back."                                            - Abigail Van Buren


More information about the U-Boot mailing list