Skip to content

Remove K3 misc sys_proto.h header

Andrew Davis u-boot 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest12 patches 2 repliesIn review
  2. v312 patches 4 repliesSuperseded
  3. v212 patches 13 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v112 patches3 repliesSuperseded

Changes in v4 from the cover letter

- [2/12] Fix copy/paste error (thanks Christian)
- add more tags and rebase on latest

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12arm: mach-k3: Move MSMC fixup to SoC levelarch/arm/mach-k3/common.c arch/arm/mach-k3/include/mach/sys_proto.h board/siemens/iot2050/board.c +13 more+28 -591 reply
2/12arm: mach-k3: Move J721e SoC detection out of common sectionarch/arm/mach-k3/common.c arch/arm/mach-k3/common.h arch/arm/mach-k3/include/mach/hardware.h +1 more+25 -261 reply
3/12soc: soc_ti_k3: Use hardware.h to remove definition duplicationdrivers/soc/Kconfig drivers/soc/soc_ti_k3.c+10 -220 replies
4/12configs: j721x_evm: Remove unneeded check for SYS_K3_SPL_ATFboard/ti/j721e/j721e.env board/ti/j721s2/j721s2.env+0 -40 replies
5/12configs: j721s2_evm.h: Remove refrences to J7200 EVMinclude/configs/j721s2_evm.h+1 -10 replies
6/12arm: mach-k3: Make release_resources_for_core_shutdown() commonarch/arm/mach-k3/am642_init.c arch/arm/mach-k3/am654_init.c arch/arm/mach-k3/common.c +9 more+127 -2140 replies
7/12arm: mach-k3: Move sysfw-loader.h out of mach includesarch/arm/mach-k3/am625_init.c arch/arm/mach-k3/am62a7_init.c arch/arm/mach-k3/am642_init.c +4 more+6 -60 replies
8/12arm: mach-k3: Add weak do_board_detect() to common filearch/arm/mach-k3/Kconfig arch/arm/mach-k3/am642_init.c arch/arm/mach-k3/am654_init.c +5 more+20 -160 replies
9/12arm: mach-k3: Remove unused fdt_disable_node()arch/arm/mach-k3/common.c arch/arm/mach-k3/include/mach/sys_proto.h+0 -200 replies
10/12arm: mach-k3: Move sdelay() and wait_on_value() declarationarch/arm/mach-k3/include/mach/sys_proto.h drivers/ram/k3-am654-ddrss.c+4 -40 replies
11/12arm: mach-k3: Move J721s2 SPL init functions to mach-k3arch/arm/mach-k3/include/mach/sys_proto.h arch/arm/mach-k3/j721s2_init.c board/ti/j721s2/evm.c+64 -660 replies
12/12arm: mach-k3: Remove empty sys_proto.h includearch/arm/mach-k3/am642_init.c arch/arm/mach-k3/am654_init.c arch/arm/mach-k3/common.c +14 more+0 -300 replies

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchChristian Gmeiner
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 00/12] Remove K3 misc sys_proto.h header

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 v3:
- [2/12] Fix copy/paste error (thanks Christian)
- add more tags and rebase on latest

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%)
Signature · 1 line
2.39.2