[Skiboot] [PATCH] Remove POWER7 and POWER7+ support

Stewart Smith stewart at linux.ibm.com
Tue Jun 4 10:28:52 AEST 2019


Oliver <oohall at gmail.com> writes:
>>  hw/cec.c                                      |    2 +-
> As far as I can tell everything in here is only used by P7 code.

I think you're right, and I've thought this about 4 times before. For
whatever reason I couldn't think of it when ripping everything out

>
>>  hw/chiptod.c                                  |    3 -
>>  hw/dts.c                                      |   64 -
>>  hw/fsp/fsp.c                                  |    1 -
>>  hw/gx.c                                       |  158 -
>>  hw/nx-842.c                                   |    6 +-
>>  hw/nx-crypto.c                                |   16 +-
>>  hw/nx-rng.c                                   |    6 +-
>>  hw/p7ioc-inits.c                              | 1096 ------
>>  hw/p7ioc-phb.c                                | 3242 -----------------
>>  hw/p7ioc.c                                    |  688 ----
>>  hw/psi.c                                      |  105 +-
>>  hw/slw.c                                      |    6 +-
>>  hw/xscom.c                                    |   10 +-
>>  include/chip.h                                |   24 +-
>>  include/gx.h                                  |   53 -
>>  include/interrupts.h                          |  122 -
>>  include/mem-map.h                             |    5 +-
>>  include/nx.h                                  |   44 +-
>>  include/opal-api.h                            |  110 -
>>  include/p7ioc-regs.h                          |  444 ---
>>  include/p7ioc.h                               |  367 --
>>  include/processor.h                           |   12 +-
>>  include/psi.h                                 |   14 +-
>>  include/skiboot.h                             |    2 -
>
>>  platforms/ibm-fsp/apollo-pci.c                |    1 -
>
> All of apollo-pci.c and apollo.c can go. They're the platform files
> for the P7 FSP systems.

I *thought* so, but figured I'd check with at least one other person
though :)

> I'm not going to pick through 8000 lines of deleted code, so:

tl;dr: Much gone. Very Delete.

> Enthusiasticly-Acked-by: Oliver O'Halloran <oohall at gmail.com>

:)

I'll send another patch removing hw/cec.c and the apollo bits.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list