From: Renaud Barbier <renaud.barbier@ge.com>
To: barebox@lists.infradead.org
Subject: [PATCH 0/9] MPC8xxx support
Date: Tue, 24 Jan 2012 12:33:54 +0000 [thread overview]
Message-ID: <1327408443-3519-1-git-send-email-renaud.barbier@ge.com> (raw)
These patches are a work in progress to introduce the mpc8xxx
architecture to barebox.
They include preparation work to add the new architecture and
a minimal support for the P2020RDB. That is, serial only, no
network driver or storage drivers.
I will follow up with the Ethernet, NAND and I2C driver.
Renaud Barbier (9):
Preparation stage to support multiple PPC architectures.
Define clock source shift and mask.
Added support for the mpc8xxx architecture.
Header files added to support the mpc8xxx architecture.
Update to existing header files.
Add file and compilation of strmhz.
Add-ons to the PPC library to support the mpc8xxx.
Update (ppc) Makefile and Kconfig.
P1_P2 platform support code and configuratin file for the P2020RDB.
arch/ppc/Kconfig | 49 +-
arch/ppc/Makefile | 10 +
arch/ppc/boards/freescale/p1_p2_rdb/Makefile | 5 +
arch/ppc/boards/freescale/p1_p2_rdb/barebox.lds.S | 173 ++
arch/ppc/boards/freescale/p1_p2_rdb/config.h | 310 +++
arch/ppc/boards/freescale/p1_p2_rdb/ddr.c | 244 +++
arch/ppc/boards/freescale/p1_p2_rdb/law.c | 33 +
arch/ppc/boards/freescale/p1_p2_rdb/p1_p2_rdb.c | 463 ++++
arch/ppc/boards/freescale/p1_p2_rdb/pci.c | 43 +
arch/ppc/boards/freescale/p1_p2_rdb/tlb.c | 95 +
arch/ppc/configs/p2020rdb_defconfig | 24 +
arch/ppc/configs/pcm030_defconfig | 3 +
arch/ppc/include/asm/bitops.h | 102 +-
arch/ppc/include/asm/cache.h | 11 +
arch/ppc/include/asm/common.h | 43 +-
arch/ppc/include/asm/config.h | 84 +
arch/ppc/include/asm/config_mpc85xx.h | 188 ++
arch/ppc/include/asm/e500.h | 31 +
arch/ppc/include/asm/fsl_ddr_sdram.h | 288 +++
arch/ppc/include/asm/fsl_dma.h | 141 ++
arch/ppc/include/asm/fsl_enet.h | 33 +
arch/ppc/include/asm/fsl_fman.h | 212 ++
arch/ppc/include/asm/fsl_law.h | 123 ++
arch/ppc/include/asm/fsl_lbc.h | 531 +++++
arch/ppc/include/asm/fsl_portals.h | 59 +
arch/ppc/include/asm/fsl_serdes.h | 56 +
arch/ppc/include/asm/fsl_upm.h | 48 +
arch/ppc/include/asm/global_data.h | 121 ++
arch/ppc/include/asm/io.h | 38 +
arch/ppc/include/asm/mmu.h | 490 ++++--
arch/ppc/include/asm/mp.h | 31 +
arch/ppc/include/asm/processor.h | 685 ++++--
arch/ppc/lib/Makefile | 4 +-
arch/ppc/lib/board.c | 24 +-
arch/ppc/lib/reloc.S | 50 +
arch/ppc/lib/time-8xxx.c | 64 +
arch/ppc/lib/time-mpc5200.c | 75 +
arch/ppc/lib/time.c | 74 -
arch/ppc/mach-mpc5xxx/Kconfig | 46 +
arch/ppc/mach-mpc5xxx/include/mach/clock_config.h | 7 +
arch/ppc/mach-mpc8xxx/Kconfig | 72 +
arch/ppc/mach-mpc8xxx/Makefile | 6 +
arch/ppc/mach-mpc8xxx/cpuid.c | 133 ++
arch/ppc/mach-mpc8xxx/fdt_8xxx.c | 266 +++
arch/ppc/mach-mpc8xxx/fsl_law.c | 259 +++
arch/ppc/mach-mpc8xxx/fsl_lbc.c | 149 ++
arch/ppc/mach-mpc8xxx/include/mach/README | 1 +
arch/ppc/mach-mpc8xxx/include/mach/clock_config.h | 7 +
arch/ppc/mach-mpc8xxx/include/mach/clocks.h | 8 +
arch/ppc/mach-mpc8xxx/include/mach/early_udelay.h | 33 +
arch/ppc/mach-mpc8xxx/include/mach/immap_85xx.h | 2339 +++++++++++++++++++++
arch/ppc/mach-mpc8xxx/include/mach/mpc85xx.h | 29 +
arch/ppc/mach-mpc8xxx/include/mach/nand_upm.h | 36 +
arch/ppc/mach-mpc8xxx/include/mach/ppc_asm.tmpl | 299 +++
arch/ppc/mach-mpc8xxx/include/mach/tsec.h | 664 ++++++
arch/ppc/mach-mpc8xxx/include/mach/uart.h | 38 +
arch/ppc/mach-mpc8xxx/io.S | 128 ++
arch/ppc/mach-mpc8xxx/mpc85xx/Makefile | 14 +
arch/ppc/mach-mpc8xxx/mpc85xx/cpu.c | 347 +++
arch/ppc/mach-mpc8xxx/mpc85xx/cpu_init.c | 263 +++
arch/ppc/mach-mpc8xxx/mpc85xx/cpu_init_early.c | 80 +
arch/ppc/mach-mpc8xxx/mpc85xx/fdt.c | 490 +++++
arch/ppc/mach-mpc8xxx/mpc85xx/fixed_ivor.S | 79 +
arch/ppc/mach-mpc8xxx/mpc85xx/interrupts.c | 113 +
arch/ppc/mach-mpc8xxx/mpc85xx/mp.c | 408 ++++
arch/ppc/mach-mpc8xxx/mpc85xx/mp.h | 22 +
arch/ppc/mach-mpc8xxx/mpc85xx/mpc8544_serdes.c | 95 +
arch/ppc/mach-mpc8xxx/mpc85xx/p2020_serdes.c | 73 +
arch/ppc/mach-mpc8xxx/mpc85xx/release.S | 317 +++
arch/ppc/mach-mpc8xxx/mpc85xx/resetvec.S | 2 +
arch/ppc/mach-mpc8xxx/mpc85xx/speed.c | 213 ++
arch/ppc/mach-mpc8xxx/mpc85xx/start.S | 1236 +++++++++++
arch/ppc/mach-mpc8xxx/mpc85xx/tlb.c | 307 +++
arch/ppc/mach-mpc8xxx/mpc85xx/traps.c | 329 +++
include/common.h | 6 +
include/ddr_spd.h | 317 +++
include/ioports.h | 65 +
include/linux/bitops.h | 32 +
include/linux/types.h | 2 +
include/lmb.h | 61 +
include/net.h | 2 +
lib/Makefile | 1 +
lib/strmhz.c | 38 +
83 files changed, 14011 insertions(+), 479 deletions(-)
create mode 100644 arch/ppc/boards/freescale/p1_p2_rdb/Makefile
create mode 100644 arch/ppc/boards/freescale/p1_p2_rdb/barebox.lds.S
create mode 100644 arch/ppc/boards/freescale/p1_p2_rdb/config.h
create mode 100644 arch/ppc/boards/freescale/p1_p2_rdb/ddr.c
create mode 100644 arch/ppc/boards/freescale/p1_p2_rdb/law.c
create mode 100644 arch/ppc/boards/freescale/p1_p2_rdb/p1_p2_rdb.c
create mode 100644 arch/ppc/boards/freescale/p1_p2_rdb/pci.c
create mode 100644 arch/ppc/boards/freescale/p1_p2_rdb/tlb.c
create mode 100644 arch/ppc/configs/p2020rdb_defconfig
create mode 100644 arch/ppc/include/asm/config.h
create mode 100644 arch/ppc/include/asm/config_mpc85xx.h
create mode 100644 arch/ppc/include/asm/e500.h
create mode 100644 arch/ppc/include/asm/fsl_ddr_sdram.h
create mode 100644 arch/ppc/include/asm/fsl_dma.h
create mode 100644 arch/ppc/include/asm/fsl_enet.h
create mode 100644 arch/ppc/include/asm/fsl_fman.h
create mode 100644 arch/ppc/include/asm/fsl_law.h
create mode 100644 arch/ppc/include/asm/fsl_lbc.h
create mode 100644 arch/ppc/include/asm/fsl_portals.h
create mode 100644 arch/ppc/include/asm/fsl_serdes.h
create mode 100644 arch/ppc/include/asm/fsl_upm.h
create mode 100644 arch/ppc/include/asm/global_data.h
create mode 100644 arch/ppc/include/asm/mp.h
create mode 100644 arch/ppc/lib/reloc.S
create mode 100644 arch/ppc/lib/time-8xxx.c
create mode 100644 arch/ppc/lib/time-mpc5200.c
delete mode 100644 arch/ppc/lib/time.c
create mode 100644 arch/ppc/mach-mpc5xxx/include/mach/clock_config.h
create mode 100644 arch/ppc/mach-mpc8xxx/Kconfig
create mode 100644 arch/ppc/mach-mpc8xxx/Makefile
create mode 100644 arch/ppc/mach-mpc8xxx/cpuid.c
create mode 100644 arch/ppc/mach-mpc8xxx/fdt_8xxx.c
create mode 100644 arch/ppc/mach-mpc8xxx/fsl_law.c
create mode 100644 arch/ppc/mach-mpc8xxx/fsl_lbc.c
create mode 100644 arch/ppc/mach-mpc8xxx/include/mach/README
create mode 100644 arch/ppc/mach-mpc8xxx/include/mach/clock_config.h
create mode 100644 arch/ppc/mach-mpc8xxx/include/mach/clocks.h
create mode 100644 arch/ppc/mach-mpc8xxx/include/mach/early_udelay.h
create mode 100644 arch/ppc/mach-mpc8xxx/include/mach/immap_85xx.h
create mode 100644 arch/ppc/mach-mpc8xxx/include/mach/mpc85xx.h
create mode 100644 arch/ppc/mach-mpc8xxx/include/mach/nand_upm.h
create mode 100644 arch/ppc/mach-mpc8xxx/include/mach/ppc_asm.tmpl
create mode 100644 arch/ppc/mach-mpc8xxx/include/mach/tsec.h
create mode 100644 arch/ppc/mach-mpc8xxx/include/mach/uart.h
create mode 100644 arch/ppc/mach-mpc8xxx/io.S
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/Makefile
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/cpu.c
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/cpu_init.c
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/cpu_init_early.c
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/fdt.c
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/fixed_ivor.S
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/interrupts.c
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/mp.c
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/mp.h
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/mpc8544_serdes.c
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/p2020_serdes.c
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/release.S
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/resetvec.S
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/speed.c
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/start.S
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/tlb.c
create mode 100644 arch/ppc/mach-mpc8xxx/mpc85xx/traps.c
create mode 100644 include/ddr_spd.h
create mode 100644 include/ioports.h
create mode 100644 include/lmb.h
create mode 100644 lib/strmhz.c
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2012-01-24 12:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-24 12:33 Renaud Barbier [this message]
2012-01-24 12:33 ` [PATCH 1/9] Preparation stage to support multiple PPC architectures Renaud Barbier
2012-01-25 17:33 ` Sascha Hauer
2012-01-24 12:33 ` [PATCH 2/9] Define clock source shift and mask Renaud Barbier
2012-01-25 17:36 ` Sascha Hauer
2012-01-24 12:33 ` [PATCH 3/9] Added support for the mpc8xxx architecture Renaud Barbier
2012-01-24 12:33 ` [PATCH 4/9] Header files added to support " Renaud Barbier
2012-01-24 12:33 ` [PATCH 5/9] Update to existing header files Renaud Barbier
2012-01-24 12:34 ` [PATCH 6/9] Add file and compilation of strmhz Renaud Barbier
2012-01-24 12:34 ` [PATCH 7/9] Add-ons to the PPC library to support the mpc8xxx Renaud Barbier
2012-01-24 12:34 ` [PATCH 8/9] Update (ppc) Makefile and Kconfig Renaud Barbier
2012-01-24 12:34 ` [PATCH 9/9] P1_P2 platform support code and configuratin file for the P2020RDB Renaud Barbier
2012-01-25 19:33 ` [PATCH 0/9] MPC8xxx support Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1327408443-3519-1-git-send-email-renaud.barbier@ge.com \
--to=renaud.barbier@ge.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox