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>
Showing
- arch/powerpc/lib/Makefile 1 addition, 0 deletionsarch/powerpc/lib/Makefile
- arch/powerpc/lib/ide.c 201 additions, 0 deletionsarch/powerpc/lib/ide.c
- arch/powerpc/lib/ide.h 31 additions, 0 deletionsarch/powerpc/lib/ide.h
- common/cmd_ide.c 7 additions, 183 deletionscommon/cmd_ide.c
- include/configs/CPC45.h 1 addition, 0 deletionsinclude/configs/CPC45.h
- include/configs/ICU862.h 1 addition, 0 deletionsinclude/configs/ICU862.h
- include/configs/IVML24.h 2 additions, 0 deletionsinclude/configs/IVML24.h
- include/configs/IVMS8.h 2 additions, 0 deletionsinclude/configs/IVMS8.h
- include/configs/KUP4K.h 1 addition, 0 deletionsinclude/configs/KUP4K.h
- include/configs/KUP4X.h 1 addition, 0 deletionsinclude/configs/KUP4X.h
- include/configs/MBX.h 1 addition, 0 deletionsinclude/configs/MBX.h
- include/configs/NETTA.h 1 addition, 0 deletionsinclude/configs/NETTA.h
- include/configs/NSCU.h 1 addition, 0 deletionsinclude/configs/NSCU.h
- include/configs/R360MPI.h 1 addition, 0 deletionsinclude/configs/R360MPI.h
- include/configs/RPXClassic.h 1 addition, 0 deletionsinclude/configs/RPXClassic.h
- include/configs/RPXlite.h 1 addition, 0 deletionsinclude/configs/RPXlite.h
- include/configs/RPXlite_DW.h 1 addition, 0 deletionsinclude/configs/RPXlite_DW.h
- include/configs/RRvision.h 1 addition, 0 deletionsinclude/configs/RRvision.h
- include/configs/SPD823TS.h 2 additions, 0 deletionsinclude/configs/SPD823TS.h
- include/configs/TK885D.h 1 addition, 0 deletionsinclude/configs/TK885D.h
Loading
Please register or sign in to comment