Skip to content

Cleanup for 8xx and other misc powerpc

Christophe Leroy u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest14 patches 0 repliesNew
  2. v114 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14powerpc, 8xx: Simplify brgclk calculation and remove get_brgclk()arch/powerpc/cpu/mpc8xx/speed.c+3 -221 reply
2/14powerpc: get rid of addr_probe()arch/powerpc/cpu/mpc83xx/traps.c arch/powerpc/cpu/mpc85xx/traps.c arch/powerpc/cpu/mpc86xx/traps.c +1 more+0 -531 reply
3/14powerpc, timer: Does 8xx specific actions in 8xx cpu_initarch/powerpc/cpu/mpc8xx/cpu_init.c arch/powerpc/lib/time.c+4 -121 reply
4/14power, timer: reset TBL before TBUarch/powerpc/lib/time.c+1 -11 reply
5/14powerpc: move set_msr() and get_msr() into .harch/powerpc/include/asm/ppc.h arch/powerpc/lib/interrupts.c arch/powerpc/lib/kgdb.c+14 -281 reply
6/14powerpc: Remove unneccessary #ifdefs in reginfoarch/powerpc/cpu/mpc85xx/cpu.c arch/powerpc/cpu/mpc86xx/cpu.c arch/powerpc/cpu/mpc8xx/reginfo.c +2 more+12 -211 reply
7/14Convert CONFIG_CMD_REGINFO to KconfigREADME arch/powerpc/Kconfig cmd/Kconfig +61 more+8 -1321 reply
7/14Convert CONFIG_CMD_REGINFO to Kconfig+0 -01 reply
8/14powerpc, 8xx: Simplifying check_CPU()arch/powerpc/cpu/mpc8xx/cpu.c+7 -321 reply
9/14powerpc, 8xx: Move cache function into C filesarch/powerpc/cpu/mpc8xx/Makefile arch/powerpc/cpu/mpc8xx/cache.c arch/powerpc/cpu/mpc8xx/start.S+50 -561 reply
10/14powerpc, 8xx: move get_immr() into Carch/powerpc/cpu/mpc8xx/start.S arch/powerpc/include/asm/ppc.h+8 -161 reply
11/14powerpc, 8xx: move cache helper into Carch/powerpc/cpu/mpc8xx/start.S arch/powerpc/include/asm/cache.h arch/powerpc/include/asm/ppc.h+32 -381 reply
12/14powerpc: move get_pvr() and get_svr() into Carch/powerpc/cpu/mpc83xx/start.S arch/powerpc/cpu/mpc85xx/start.S arch/powerpc/cpu/mpc86xx/start.S +2 more+9 -371 reply
13/14powerpc, 8xx: fix missing function declarations.arch/powerpc/cpu/mpc8xx/immap.c arch/powerpc/cpu/mpc8xx/traps.c arch/powerpc/include/asm/ppc.h +3 more+16 -101 reply
14/14powerpc: Remove 8260 remaindersMAINTAINERS arch/powerpc/include/asm/processor.h drivers/i2c/soft_i2c.c +2 more+2 -321 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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
Signature · 1 line
2.12.0