m68k: mac: Refactor iop_preinit() and iop_init()
authorFinn Thain <fthain@telegraphics.com.au>
Fri, 20 Nov 2020 04:39:56 +0000 (15:39 +1100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 23 Nov 2020 10:30:51 +0000 (11:30 +0100)
commit266994e3ac78955f2f7f4ac3fe588002c7bd679c
tree9bbfd5fda862885e5bcb81b9167add524488c374
parent8ae0b65ac7e5b7a93b8d6abc520351ca11d91867
m68k: mac: Refactor iop_preinit() and iop_init()

The idea behind iop_preinit() was to put the SCC IOP into bypass mode.
However, that remains unimplemented and implementing it would be
difficult. Let the comments and code reflect this. Even if iop_preinit()
worked as described in the comments, it gets called immediately before
iop_init() so it might as well part of iop_init().

Cc: Joshua Thompson <funaho@jurai.org>
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Link: https://lore.kernel.org/r/0a7b09f5e5f48e270b82041c19e8f20f54c69216.1605847196.git.fthain@telegraphics.com.au
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/mac/config.c
arch/m68k/mac/iop.c