All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/10] IDE code cleanup
@ 2012-10-07 15:56 Pavel Herrmann
  2012-10-07 15:56 ` [U-Boot] [PATCH 01/10] remove CONFIG_SC3 from cmd_ide.c Pavel Herrmann
                   ` (10 more replies)
  0 siblings, 11 replies; 28+ messages in thread
From: Pavel Herrmann @ 2012-10-07 15:56 UTC (permalink / raw)
  To: u-boot

This series tries to remove all SoC-specific and board-specific code from
cmd_ide. Whenever an existing hook is present, it is used instead, when no
appropriate hook is present, one is created (either as a hook call or by
using the weak alias technique). The aim of this series is to prepare for
DM conversion, where most of the cmd_ide code will create a new universal
IDE driver, and all hooks and overrides will be provided in its platform data.

note: this series has not been tested on the actual hardware


Pavel Herrmann (10):
  remove CONFIG_SC3 from cmd_ide.c
  split mpc8xx hooks from cmd_ide.c
  split IVM power hooks from cmd_ide.c
  change all versions of input_data() and output_data() to global weak
    aliases
  split CPC45 board-specific IDE functions from cmd_ide.c
  make ide_led() a weak alias
  move CPC45 ide_led to the same file as other IDE hooks
  split AU1X00 specific code from cmd_ide.c
  split PCS440EP specific code from cmd_ide.c
  remove unnecessary includes from cmd_ide.c

 arch/mips/cpu/mips32/au1x00/Makefile     |   2 +-
 arch/mips/cpu/mips32/au1x00/au1x00_ide.c |  33 +++
 arch/powerpc/lib/Makefile                |   1 +
 arch/powerpc/lib/ide.c                   | 207 +++++++++++++
 arch/powerpc/lib/ide.h                   |  31 ++
 board/cpc45/Makefile                     |   2 +-
 board/cpc45/cpc45.c                      |  15 -
 board/cpc45/ide.c                        | 145 +++++++++
 board/esd/cpci750/ide.c                  |   1 -
 board/ivm/ivm.c                          |  46 +++
 board/linkstation/ide.c                  |   1 -
 board/pcs440ep/pcs440ep.c                |  57 +++-
 common/cmd_ide.c                         | 484 +++++--------------------------
 include/configs/CPC45.h                  |   1 +
 include/configs/ICU862.h                 |   1 +
 include/configs/IVML24.h                 |   2 +
 include/configs/IVMS8.h                  |   2 +
 include/configs/KUP4K.h                  |   1 +
 include/configs/KUP4X.h                  |   1 +
 include/configs/MBX.h                    |   1 +
 include/configs/NETTA.h                  |   1 +
 include/configs/NSCU.h                   |   1 +
 include/configs/R360MPI.h                |   1 +
 include/configs/RPXClassic.h             |   1 +
 include/configs/RPXlite.h                |   1 +
 include/configs/RPXlite_DW.h             |   1 +
 include/configs/RRvision.h               |   1 +
 include/configs/SPD823TS.h               |   2 +
 include/configs/TK885D.h                 |   1 +
 include/configs/TQM823L.h                |   1 +
 include/configs/TQM823M.h                |   1 +
 include/configs/TQM850L.h                |   1 +
 include/configs/TQM850M.h                |   1 +
 include/configs/TQM855L.h                |   1 +
 include/configs/TQM855M.h                |   1 +
 include/configs/TQM860L.h                |   1 +
 include/configs/TQM860M.h                |   1 +
 include/configs/TQM862L.h                |   1 +
 include/configs/TQM862M.h                |   1 +
 include/configs/TQM866M.h                |   1 +
 include/configs/TQM885D.h                |   1 +
 include/configs/atc.h                    |   1 +
 include/configs/c2mon.h                  |   1 +
 include/configs/lwmon.h                  |   1 +
 include/configs/quantum.h                |   1 +
 include/configs/svm_sc8xx.h              |   2 +
 include/configs/uc100.h                  |   1 +
 include/configs/virtlab2.h               |   1 +
 include/ide.h                            |  19 ++
 49 files changed, 650 insertions(+), 433 deletions(-)
 create mode 100644 arch/mips/cpu/mips32/au1x00/au1x00_ide.c
 create mode 100644 arch/powerpc/lib/ide.c
 create mode 100644 arch/powerpc/lib/ide.h
 create mode 100644 board/cpc45/ide.c

-- 
1.7.12

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2012-10-17 15:02 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-07 15:56 [U-Boot] [PATCH 00/10] IDE code cleanup Pavel Herrmann
2012-10-07 15:56 ` [U-Boot] [PATCH 01/10] remove CONFIG_SC3 from cmd_ide.c Pavel Herrmann
2012-10-17 15:02   ` [U-Boot] [U-Boot,01/10] " Tom Rini
2012-10-07 15:56 ` [U-Boot] [PATCH 02/10] split mpc8xx hooks " Pavel Herrmann
2012-10-07 18:09   ` Marek Vasut
2012-10-07 18:09   ` Marek Vasut
2012-10-09 17:01   ` [U-Boot] [PATCH v2 " Pavel Herrmann
2012-10-07 15:56 ` [U-Boot] [PATCH 03/10] split IVM power " Pavel Herrmann
2012-10-07 15:56 ` [U-Boot] [PATCH 04/10] change all versions of input_data() and output_data() to global weak aliases Pavel Herrmann
2012-10-07 18:14   ` Marek Vasut
2012-10-09 13:42     ` Pavel Herrmann
2012-10-09 17:13       ` Marek Vasut
2012-10-09 17:04   ` [U-Boot] [PATCH v2 " Pavel Herrmann
2012-10-07 15:56 ` [U-Boot] [PATCH 05/10] split CPC45 board-specific IDE functions from cmd_ide.c Pavel Herrmann
2012-10-07 18:20   ` Marek Vasut
2012-10-09 13:38     ` Pavel Herrmann
2012-10-09 17:13       ` Marek Vasut
2012-10-07 15:56 ` [U-Boot] [PATCH 06/10] make ide_led() a weak alias Pavel Herrmann
2012-10-07 15:56 ` [U-Boot] [PATCH 07/10] move CPC45 ide_led to the same file as other IDE hooks Pavel Herrmann
2012-10-07 18:21   ` Marek Vasut
2012-10-09 17:06   ` [U-Boot] [PATCH v2 " Pavel Herrmann
2012-10-07 15:56 ` [U-Boot] [PATCH 08/10] split AU1X00 specific code from cmd_ide.c Pavel Herrmann
2012-10-08 23:38   ` Tom Rini
2012-10-09 13:35     ` Pavel Herrmann
2012-10-09 17:10   ` [U-Boot] [PATCH v2 " Pavel Herrmann
2012-10-07 15:56 ` [U-Boot] [PATCH 09/10] split PCS440EP " Pavel Herrmann
2012-10-07 15:56 ` [U-Boot] [PATCH 10/10] remove unnecessary includes " Pavel Herrmann
2012-10-07 18:23 ` [U-Boot] [PATCH 00/10] IDE code cleanup Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.