[U-Boot] [PATCH v2 0/10] powerpc, 8xx: Modernise the 8xx

Christophe Leroy
2017-07-06T08:33:07Z

This patchset modernises the resurrected 8xx.

Christophe Leroy (10):
powerpc, 8xx: move immap.c in arch/powerpc/cpu/mpc8xx/
powerpc, 8xx: move specific reginfo
powerpc, 8xx: Use IO accessors to access IO memory
powerpc, 8xx: Implement GLL2 ERRATA
powerpc, 8xx: Handle checkpatch errors and some of the warnings/checks
powerpc, 8xx: Properly set CPM frequency in the device tree
powerpc, 8xx: Migrate to Kconfig
powerpc, 8xx: move FEC Ethernet driver in drivers/net
powerpc, 8xx: move SPI driver to drivers/spi/
powerpc, 8xx: move Serial driver to drivers/serial/

README | 49 ---
arch/powerpc/Kconfig | 2 -
arch/powerpc/cpu/mpc8xx/Kconfig | 157 ++++++++
arch/powerpc/cpu/mpc8xx/Makefile | 5 +-
arch/powerpc/cpu/mpc8xx/cpu.c | 183 ++++-----
arch/powerpc/cpu/mpc8xx/cpu_init.c | 112 +++---
arch/powerpc/cpu/mpc8xx/fdt.c | 10 +-
arch/powerpc/cpu/mpc8xx/immap.c | 380 ++++++++++++++++++
arch/powerpc/cpu/mpc8xx/interrupts.c | 121 +++---
arch/powerpc/cpu/mpc8xx/reginfo.c | 70 ++++
arch/powerpc/cpu/mpc8xx/serial.c | 301 --------------
arch/powerpc/cpu/mpc8xx/speed.c | 39 +-
arch/powerpc/cpu/mpc8xx/traps.c | 37 +-
arch/powerpc/include/asm/iopin_8xx.h | 441 +++++++++++++--------
arch/powerpc/include/asm/ppc.h | 5 -
arch/powerpc/lib/Kconfig | 7 -
arch/powerpc/lib/Makefile | 1 -
arch/powerpc/lib/immap.c | 397 -------------------
arch/powerpc/lib/time.c | 7 +-
cmd/reginfo.c | 54 +--
drivers/i2c/soft_i2c.c | 2 +-
drivers/net/Kconfig | 58 +++
drivers/net/Makefile | 1 +
.../cpu/mpc8xx/fec.c => drivers/net/mpc8xx_fec.c | 369 +++++++++--------
drivers/serial/Kconfig | 53 +++
drivers/serial/Makefile | 1 +
drivers/serial/serial_mpc8xx.c | 256 ++++++++++++
drivers/spi/Kconfig | 6 +
drivers/spi/Makefile | 1 +
.../cpu/mpc8xx/spi.c => drivers/spi/mpc8xx_spi.c | 212 +++++-----
include/commproc.h | 12 +-
include/watchdog.h | 2 +-
scripts/config_whitelist.txt | 22 -
33 files changed, 1778 insertions(+), 1595 deletions(-)
create mode 100644 arch/powerpc/cpu/mpc8xx/immap.c
create mode 100644 arch/powerpc/cpu/mpc8xx/reginfo.c
delete mode 100644 arch/powerpc/cpu/mpc8xx/serial.c
delete mode 100644 arch/powerpc/lib/Kconfig
delete mode 100644 arch/powerpc/lib/immap.c
rename arch/powerpc/cpu/mpc8xx/fec.c => drivers/net/mpc8xx_fec.c (62%)
create mode 100644 drivers/serial/serial_mpc8xx.c
rename arch/powerpc/cpu/mpc8xx/spi.c => drivers/spi/mpc8xx_spi.c (62%)

--
2.12.0