mips: don't hardcode Malta env baudrate
authorPaul Burton <paul.burton@imgtec.com>
Tue, 26 Nov 2013 17:45:25 +0000 (17:45 +0000)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Tue, 26 Nov 2013 20:49:17 +0000 (21:49 +0100)
commitd18d49d7ad77f1a97b9697b3761802de5b82983d
treecaf597d190cfbaa55281935184bdad4bff8a1f50
parentd19ad726bcd5d9106f7ba9c750462fcc369f1020
mips: don't hardcode Malta env baudrate

The baudrate passed to Linux in the environment was hardcoded at 38400.
Instead pass the correct baudrate from global data, allowing Linux to
correctly inherit the baudrate used by U-boot when console setup is not
explicitly specified.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/lib/bootm.c