[U-Boot] [PATCH v2 00/14] Cleanup for 8xx and other misc powerpc

Christophe Leroy christophe.leroy at c-s.fr
Thu Jul 13 13:09:41 UTC 2017


This serie makes some cleanup in the powerpc area
following the reintroduction of the 8xx.

v2 takes into account comments from Wolfgang and Tom

Christophe Leroy (14):
  powerpc, 8xx: Simplify brgclk calculation and remove get_brgclk()
  powerpc: get rid of addr_probe()
  powerpc, timer: Does 8xx specific actions in 8xx cpu_init
  power, timer: reset TBL before TBU
  powerpc: move set_msr() and get_msr() into .h
  powerpc: Remove unneccessary #ifdefs in reginfo
  Convert CONFIG_CMD_REGINFO to Kconfig
  powerpc, 8xx: Simplifying check_CPU()
  powerpc, 8xx: Move cache function into C files
  powerpc, 8xx: move get_immr() into C
  powerpc, 8xx: move cache helper into C
  powerpc: move get_pvr() and get_svr() into C
  powerpc, 8xx: fix missing function declarations.
  powerpc: Remove 8260 remainders

 MAINTAINERS                          |   6 --
 README                               |   1 -
 arch/powerpc/Kconfig                 |   3 +
 arch/powerpc/cpu/mpc83xx/start.S     |  10 ----
 arch/powerpc/cpu/mpc83xx/traps.c     |  27 ---------
 arch/powerpc/cpu/mpc85xx/cpu.c       |   3 +-
 arch/powerpc/cpu/mpc85xx/start.S     |  10 ----
 arch/powerpc/cpu/mpc85xx/traps.c     |   8 ---
 arch/powerpc/cpu/mpc86xx/cpu.c       |   3 +-
 arch/powerpc/cpu/mpc86xx/start.S     |  10 ----
 arch/powerpc/cpu/mpc86xx/traps.c     |  10 ----
 arch/powerpc/cpu/mpc8xx/Makefile     |   1 +
 arch/powerpc/cpu/mpc8xx/cache.c      |  49 ++++++++++++++++
 arch/powerpc/cpu/mpc8xx/cpu.c        |  39 +++----------
 arch/powerpc/cpu/mpc8xx/cpu_init.c   |   5 +-
 arch/powerpc/cpu/mpc8xx/immap.c      |  13 +++--
 arch/powerpc/cpu/mpc8xx/reginfo.c    |   3 +-
 arch/powerpc/cpu/mpc8xx/speed.c      |  25 +-------
 arch/powerpc/cpu/mpc8xx/start.S      | 108 -----------------------------------
 arch/powerpc/cpu/mpc8xx/traps.c      |  10 +---
 arch/powerpc/include/asm/cache.h     |  32 +++++++++++
 arch/powerpc/include/asm/ppc.h       |  49 +++++++++++++---
 arch/powerpc/include/asm/processor.h |  14 -----
 arch/powerpc/lib/bootm.c             |   2 +
 arch/powerpc/lib/interrupts.c        |  17 ------
 arch/powerpc/lib/kgdb.c              |  14 -----
 arch/powerpc/lib/time.c              |  13 +----
 cmd/Kconfig                          |   5 ++
 cmd/reginfo.c                        |  20 +------
 drivers/i2c/soft_i2c.c               |   4 --
 drivers/net/mpc8xx_fec.c             |   1 +
 drivers/serial/serial.c              |   3 -
 include/config_cmd_all.h             |   1 -
 include/configs/B4860QDS.h           |   2 -
 include/configs/BSC9131RDB.h         |   5 --
 include/configs/BSC9132QDS.h         |   5 --
 include/configs/C29XPCIE.h           |   5 --
 include/configs/M5208EVBE.h          |   3 -
 include/configs/M52277EVB.h          |   3 -
 include/configs/M5235EVB.h           |   1 -
 include/configs/M53017EVB.h          |   3 -
 include/configs/M5329EVB.h           |   2 -
 include/configs/M5373EVB.h           |   2 -
 include/configs/M54418TWR.h          |   1 -
 include/configs/M54451EVB.h          |   3 -
 include/configs/M54455EVB.h          |   1 -
 include/configs/M5475EVB.h           |   1 -
 include/configs/M5485EVB.h           |   1 -
 include/configs/MCR3000.h            |   3 -
 include/configs/MPC8536DS.h          |   2 -
 include/configs/MPC8541CDS.h         |   2 -
 include/configs/MPC8544DS.h          |   2 -
 include/configs/MPC8548CDS.h         |   2 -
 include/configs/MPC8555CDS.h         |   2 -
 include/configs/MPC8560ADS.h         |   2 -
 include/configs/MPC8568MDS.h         |   2 -
 include/configs/MPC8569MDS.h         |   2 -
 include/configs/MPC8572DS.h          |   2 -
 include/configs/MPC8610HPCD.h        |   2 -
 include/configs/MPC8641HPCN.h        |   2 -
 include/configs/P1010RDB.h           |   5 --
 include/configs/P1022DS.h            |   2 -
 include/configs/P1023RDB.h           |   2 -
 include/configs/T102xQDS.h           |   2 -
 include/configs/T102xRDB.h           |   2 -
 include/configs/T1040QDS.h           |   2 -
 include/configs/T104xRDB.h           |   2 -
 include/configs/T208xQDS.h           |   2 -
 include/configs/T208xRDB.h           |   2 -
 include/configs/T4240RDB.h           |   2 -
 include/configs/TQM834x.h            |   2 -
 include/configs/UCP1020.h            |   5 --
 include/configs/astro_mcf5373l.h     |   1 -
 include/configs/controlcenterd.h     |   3 -
 include/configs/corenet_ds.h         |   2 -
 include/configs/cyrus.h              |   2 -
 include/configs/dragonboard410c.h    |   1 -
 include/configs/p1_p2_rdb_pc.h       |   5 --
 include/configs/p1_twr.h             |   5 --
 include/configs/qemu-ppce500.h       |   2 -
 include/configs/s5p_goni.h           |   1 -
 include/configs/sbc8548.h            |   2 -
 include/configs/sbc8641d.h           |   2 -
 include/configs/smdkc100.h           |   1 -
 include/configs/socrates.h           |   1 -
 include/configs/t4qds.h              |   2 -
 include/configs/vct.h                |   1 -
 include/configs/xilinx-ppc.h         |   1 -
 include/configs/xpedite517x.h        |   1 -
 include/configs/xpedite520x.h        |   1 -
 include/configs/xpedite537x.h        |   1 -
 include/configs/xpedite550x.h        |   1 -
 include/ioports.h                    |   7 +--
 scripts/config_whitelist.txt         |   1 -
 94 files changed, 166 insertions(+), 490 deletions(-)
 create mode 100644 arch/powerpc/cpu/mpc8xx/cache.c

-- 
2.12.0



More information about the U-Boot mailing list