[PATCH v3 00/12] Remove K3 misc sys_proto.h header

Andrew Davis afd at ti.com
Thu Apr 6 16:09:51 CEST 2023


Hello all,

Some minor cleanups with end patch removing sys_proto.h.
Why? Becouse I don't like headers of "miscellaneous".

Thanks,
Andrew

Changes from v2:
 - Reworked patch [2/12] to use static and turned it into common macro
 - Removed "EEPROM" from comment as board detection can use other methods
 - Added more reviewed by tags

Changes from v1:
 - Added reviewed by tag
 - Rebased on latest

Andrew Davis (12):
  arm: mach-k3: Move MSMC fixup to SoC level
  arm: mach-k3: Move J721e SoC detection out of common section
  soc: soc_ti_k3: Use hardware.h to remove definition duplication
  configs: j721x_evm: Remove unneeded check for SYS_K3_SPL_ATF
  configs: j721s2_evm.h: Remove refrences to J7200 EVM
  arm: mach-k3: Make release_resources_for_core_shutdown() common
  arm: mach-k3: Move sysfw-loader.h out of mach includes
  arm: mach-k3: Add weak do_board_detect() to common file
  arm: mach-k3: Remove unused fdt_disable_node()
  arm: mach-k3: Move sdelay() and wait_on_value() declaration
  arm: mach-k3: Move J721s2 SPL init functions to mach-k3
  arm: mach-k3: Remove empty sys_proto.h include

 arch/arm/mach-k3/Kconfig                      |   5 -
 arch/arm/mach-k3/am625_init.c                 |   2 +-
 arch/arm/mach-k3/am62a7_init.c                |   2 +-
 arch/arm/mach-k3/am642_init.c                 |  59 +--------
 arch/arm/mach-k3/am654_init.c                 |  58 +--------
 arch/arm/mach-k3/common.c                     |  88 +++++++------
 arch/arm/mach-k3/common.h                     |   5 +-
 arch/arm/mach-k3/include/mach/am62_hardware.h |   8 ++
 .../arm/mach-k3/include/mach/am62a_hardware.h |   8 ++
 arch/arm/mach-k3/include/mach/am64_hardware.h |  24 ++++
 arch/arm/mach-k3/include/mach/am6_hardware.h  |  19 +++
 arch/arm/mach-k3/include/mach/hardware.h      |  25 ++++
 .../arm/mach-k3/include/mach/j721e_hardware.h |  19 +++
 .../mach-k3/include/mach/j721s2_hardware.h    |  19 +++
 arch/arm/mach-k3/include/mach/sys_proto.h     |  25 ----
 arch/arm/mach-k3/j721e_init.c                 |  66 +---------
 arch/arm/mach-k3/j721s2_init.c                | 121 ++++++++++--------
 arch/arm/mach-k3/security.c                   |   1 -
 arch/arm/mach-k3/sysfw-loader.c               |   1 -
 .../mach-k3/{include/mach => }/sysfw-loader.h |   0
 board/siemens/iot2050/board.c                 |  12 +-
 board/ti/am62ax/evm.c                         |   1 -
 board/ti/am62x/evm.c                          |   1 -
 board/ti/am64x/evm.c                          |   1 -
 board/ti/am65x/evm.c                          |  20 ---
 board/ti/common/Kconfig                       |   1 -
 board/ti/j721e/evm.c                          |  13 +-
 board/ti/j721e/j721e.env                      |   2 -
 board/ti/j721s2/evm.c                         |  81 ------------
 board/ti/j721s2/j721s2.env                    |   2 -
 configs/am65x_evm_a53_defconfig               |   2 +-
 configs/am65x_hs_evm_a53_defconfig            |   2 +-
 configs/iot2050_pg1_defconfig                 |   1 +
 configs/iot2050_pg2_defconfig                 |   1 +
 configs/j7200_evm_a72_defconfig               |   1 +
 configs/j7200_hs_evm_a72_defconfig            |   1 +
 configs/j721e_evm_a72_defconfig               |   1 +
 configs/j721e_hs_evm_a72_defconfig            |   1 +
 configs/j721s2_evm_a72_defconfig              |   2 +-
 configs/j721s2_hs_evm_a72_defconfig           |   2 +-
 drivers/phy/phy-ti-am654.c                    |   1 -
 drivers/ram/k3-am654-ddrss.c                  |   5 +-
 drivers/soc/Kconfig                           |   2 +-
 drivers/soc/soc_ti_k3.c                       |  30 ++---
 include/configs/j721s2_evm.h                  |   2 +-
 45 files changed, 280 insertions(+), 463 deletions(-)
 delete mode 100644 arch/arm/mach-k3/include/mach/sys_proto.h
 rename arch/arm/mach-k3/{include/mach => }/sysfw-loader.h (100%)

-- 
2.39.2



More information about the U-Boot mailing list