public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC PATCH 0/6] Mips: Refactoring of CPU and SoC code
@ 2011-03-09 13:16 daniel.schwierzeck at googlemail.com
  2011-03-09 13:16 ` [U-Boot] [RFC PATCH 1/6] Mips: Move content of arch/mips/cpu to arch/mips/cpu/mips32 daniel.schwierzeck at googlemail.com
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: daniel.schwierzeck at googlemail.com @ 2011-03-09 13:16 UTC (permalink / raw)
  To: u-boot

All current Mips CPUs and SoCs are based on Mips32 arch. The complete
code resides in the global arch/mips/cpu directory. All SoC specific
code resides in this directory too. This is not suitable if other
Mips architectures like Mips64 or Octeon or new SoCs should be supported
in the future.

This patch series refactors the Mips CPU directory and put all current
code into an own mips32 subdirectory. Furthermore the SoC specific code
of IncaIP, Purple and Au1x00 is moved to separate SoC subdirectories.

Daniel Schwierzeck (6):
  Mips: Move content of arch/mips/cpu to arch/mips/cpu/mips32
  Mips: Purple: Adapt u-boot.lds to changed CPU directory layout
  Mips: IncaIP: Move all IncaIP specific code to separate subdirectory
  Mips: Purple: Move all Purple specific code to separate subdirectory
  Mips: Au1x00: Move all Au1x00 specific code to separate subdirectory
  Mips: Update setting of endianess and CPU optimization flags

 arch/mips/cpu/config.mk                            |   39 ---------------
 arch/mips/cpu/{ => mips32}/Makefile                |    5 --
 arch/mips/cpu/mips32/au1x00/Makefile               |   45 +++++++++++++++++
 arch/mips/cpu/{ => mips32/au1x00}/au1x00_eth.c     |    0
 arch/mips/cpu/{ => mips32/au1x00}/au1x00_serial.c  |    0
 .../mips/cpu/{ => mips32/au1x00}/au1x00_usb_ohci.c |    0
 .../mips/cpu/{ => mips32/au1x00}/au1x00_usb_ohci.h |    0
 arch/mips/cpu/mips32/au1x00/config.mk              |   24 +++++++++
 arch/mips/cpu/{ => mips32}/cache.S                 |    0
 arch/mips/cpu/mips32/config.mk                     |   32 ++++++++++++
 arch/mips/cpu/{ => mips32}/cpu.c                   |    0
 arch/mips/cpu/mips32/incaip/Makefile               |   46 +++++++++++++++++
 arch/mips/cpu/{ => mips32/incaip}/asc_serial.c     |    0
 arch/mips/cpu/{ => mips32/incaip}/asc_serial.h     |    0
 arch/mips/cpu/mips32/incaip/config.mk              |   24 +++++++++
 arch/mips/cpu/{ => mips32/incaip}/incaip_clock.c   |    0
 arch/mips/cpu/{ => mips32/incaip}/incaip_wdt.S     |    0
 arch/mips/cpu/{ => mips32}/interrupts.c            |    0
 arch/mips/cpu/mips32/purple/Makefile               |   45 +++++++++++++++++
 arch/mips/cpu/{ => mips32/purple}/asc_serial.c     |    0
 arch/mips/cpu/{ => mips32/purple}/asc_serial.h     |    0
 arch/mips/cpu/mips32/purple/config.mk              |   24 +++++++++
 arch/mips/cpu/{ => mips32}/start.S                 |    0
 board/purple/u-boot.lds                            |    2 +-
 boards.cfg                                         |   52 ++++++++++----------
 25 files changed, 267 insertions(+), 71 deletions(-)
 delete mode 100644 arch/mips/cpu/config.mk
 rename arch/mips/cpu/{ => mips32}/Makefile (87%)
 create mode 100644 arch/mips/cpu/mips32/au1x00/Makefile
 rename arch/mips/cpu/{ => mips32/au1x00}/au1x00_eth.c (100%)
 rename arch/mips/cpu/{ => mips32/au1x00}/au1x00_serial.c (100%)
 rename arch/mips/cpu/{ => mips32/au1x00}/au1x00_usb_ohci.c (100%)
 rename arch/mips/cpu/{ => mips32/au1x00}/au1x00_usb_ohci.h (100%)
 create mode 100644 arch/mips/cpu/mips32/au1x00/config.mk
 rename arch/mips/cpu/{ => mips32}/cache.S (100%)
 create mode 100644 arch/mips/cpu/mips32/config.mk
 rename arch/mips/cpu/{ => mips32}/cpu.c (100%)
 create mode 100644 arch/mips/cpu/mips32/incaip/Makefile
 copy arch/mips/cpu/{ => mips32/incaip}/asc_serial.c (100%)
 copy arch/mips/cpu/{ => mips32/incaip}/asc_serial.h (100%)
 create mode 100644 arch/mips/cpu/mips32/incaip/config.mk
 rename arch/mips/cpu/{ => mips32/incaip}/incaip_clock.c (100%)
 rename arch/mips/cpu/{ => mips32/incaip}/incaip_wdt.S (100%)
 rename arch/mips/cpu/{ => mips32}/interrupts.c (100%)
 create mode 100644 arch/mips/cpu/mips32/purple/Makefile
 rename arch/mips/cpu/{ => mips32/purple}/asc_serial.c (100%)
 rename arch/mips/cpu/{ => mips32/purple}/asc_serial.h (100%)
 create mode 100644 arch/mips/cpu/mips32/purple/config.mk
 rename arch/mips/cpu/{ => mips32}/start.S (100%)

--
1.7.4.1

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

end of thread, other threads:[~2011-03-15  0:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-09 13:16 [U-Boot] [RFC PATCH 0/6] Mips: Refactoring of CPU and SoC code daniel.schwierzeck at googlemail.com
2011-03-09 13:16 ` [U-Boot] [RFC PATCH 1/6] Mips: Move content of arch/mips/cpu to arch/mips/cpu/mips32 daniel.schwierzeck at googlemail.com
2011-03-12 14:43   ` Shinya Kuribayashi
2011-03-13  0:48     ` Daniel Schwierzeck
2011-03-13 22:44       ` Wolfgang Denk
2011-03-14 12:15         ` Daniel Schwierzeck
2011-03-14 12:41           ` Wolfgang Denk
2011-03-15  0:29       ` Aaron Williams
2011-03-09 13:16 ` [U-Boot] [RFC PATCH 2/6] Mips: Purple: Adapt u-boot.lds to changed CPU directory layout daniel.schwierzeck at googlemail.com
2011-03-12 14:27   ` Shinya Kuribayashi
2011-03-09 13:16 ` [U-Boot] [RFC PATCH 3/6] Mips: IncaIP: Move all IncaIP specific code to separate subdirectory daniel.schwierzeck at googlemail.com
2011-03-09 13:16 ` [U-Boot] [RFC PATCH 4/6] Mips: Purple: Move all Purple " daniel.schwierzeck at googlemail.com
2011-03-09 13:16 ` [U-Boot] [RFC PATCH 5/6] Mips: Au1x00: Move all Au1x00 " daniel.schwierzeck at googlemail.com
2011-03-09 13:16 ` [U-Boot] [RFC PATCH 6/6] Mips: Update setting of endianess and CPU optimization flags daniel.schwierzeck at googlemail.com
2011-03-12 14:58 ` [U-Boot] [RFC PATCH 0/6] Mips: Refactoring of CPU and SoC code Shinya Kuribayashi
2011-03-12 15:00 ` Shinya Kuribayashi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox