split mpc8xx hooks from cmd_ide.c
authorPavel Herrmann <morpheus.ibis@gmail.com>
Tue, 9 Oct 2012 07:01:56 +0000 (07:01 +0000)
committerTom Rini <trini@ti.com>
Wed, 17 Oct 2012 14:59:08 +0000 (07:59 -0700)
commit8d1165e11a7aad00a2bbb05f20bacf021f6d1c12
tree0f87522d48fc98c0b67c6bf9482cb9efaad67537
parent94fa029a6d1fcf58c4cecc46326f766425bdb918
split mpc8xx hooks from cmd_ide.c

move most of mpc8xx hooks from cmd_ide.c into ide_preinit() and newly created
ide_init_postreset() (invoked after calling ide_reset after ide_preinit),
some cleanup to make checkpatch happy, enable IDE init hooks in configs of
affected boards.
confusingly, these hooks are used by more than just mpc8xx-based boards, and
therefore are placed in arch/ppc/lib/

note: checkpatch still emits warnings about using volatile

Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
40 files changed:
arch/powerpc/lib/Makefile
arch/powerpc/lib/ide.c [new file with mode: 0644]
arch/powerpc/lib/ide.h [new file with mode: 0644]
common/cmd_ide.c
include/configs/CPC45.h
include/configs/ICU862.h
include/configs/IVML24.h
include/configs/IVMS8.h
include/configs/KUP4K.h
include/configs/KUP4X.h
include/configs/MBX.h
include/configs/NETTA.h
include/configs/NSCU.h
include/configs/R360MPI.h
include/configs/RPXClassic.h
include/configs/RPXlite.h
include/configs/RPXlite_DW.h
include/configs/RRvision.h
include/configs/SPD823TS.h
include/configs/TK885D.h
include/configs/TQM823L.h
include/configs/TQM823M.h
include/configs/TQM850L.h
include/configs/TQM850M.h
include/configs/TQM855L.h
include/configs/TQM855M.h
include/configs/TQM860L.h
include/configs/TQM860M.h
include/configs/TQM862L.h
include/configs/TQM862M.h
include/configs/TQM866M.h
include/configs/TQM885D.h
include/configs/atc.h
include/configs/c2mon.h
include/configs/lwmon.h
include/configs/quantum.h
include/configs/svm_sc8xx.h
include/configs/uc100.h
include/configs/virtlab2.h
include/ide.h