m68k/lib: fix serial driver relocation
authorangelo <sysamfw@gmail.com>
Fri, 23 Nov 2012 12:23:39 +0000 (12:23 +0000)
committerTom Rini <trini@ti.com>
Fri, 11 Jan 2013 21:41:14 +0000 (14:41 -0700)
commitfd70aa41468be4324275910f85578cb5be6a0439
tree8dd92fa1d3c8b2d78486a992964f6a1b6da30a01
parent7a8e739cd5bc0c48511d343f469af89a88a3294d
m68k/lib: fix serial driver relocation

Fix coldfire serial driver bindings no more relocated to ram after last
changes to drivers/serial/serial.c (regression).
Serial initialization in ram has to be called after that gd->reloc_off is
calculated.

Signed-off-by: Angelo Dureghello <sysamfw@gmail.com>
Cc: Jason Jin <jason.jin@freescale.com>
Acked-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
Tested-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
arch/m68k/lib/board.c