OSDN Git Service

m68k/mac: Make SCC reset work more reliably
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 12 Jan 2014 13:56:38 +0000 (00:56 +1100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 19 Jan 2014 10:53:22 +0000 (11:53 +0100)
commit56931d73697c99ecf7aba6ae86c94d3a2d15d596
tree9b23e4520d20e07cdab407f790c1af96735cd33e
parenta0b7b242261c8c1097925663bf44d51c1e357e58
m68k/mac: Make SCC reset work more reliably

For SCC initialization we cannot assume that the control register is in
the correct state to accept a register pointer. So first read from the
control register in order to "sync" up.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/kernel/head.S