Skip to content

arm: socfpga: stack and Kconfig cleanups

Simon Goldschmidt u-boot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 0 repliesNew
  2. v34 patches 0 repliesSuperseded
  3. v25 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches0 repliesSuperseded

Changes in v4 from the cover letter

- make this patch 2/4 work without changing a10 heap allocation strategy (as the series doing that has been rejected)
- adapt to socfpga-next

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arm: socfpga: fix comment about SPL memory layoutinclude/configs/socfpga_common.h+3 -31 reply
2/4arm: socfpga: put initial U-Boot stack into DDRinclude/configs/socfpga_common.h+20 -221 reply
3/4arm: socfpga: imply/default common config optionsarch/arm/Kconfig arch/arm/mach-socfpga/Kconfig configs/socfpga_arria10_defconfig +12 more+22 -1161 reply
4/4arm: socfpga: gen5: reduce SPL pre-reloc mallocarch/arm/mach-socfpga/Kconfig+3 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarek Vasut
SeriesA-b
1/4A-b
2/4A-b
3/4A-b
4/4A-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 [U-Boot] [PATCH v4 0/4] arm: socfpga: stack and Kconfig cleanups

This series cleans up stack definitions in socfpga_common.h as well as cleans up defconfig files by implying/defaulting common things in Kconfig files.

Finally, it reduces the malloc pool size used in first stage of gen5 SPL (without ddr available) in order to have more space available for code.

As this series does not contain direct bugfixes, it targets the socfpga-next branch.

Note that this series is meant for socfpga-next but depends on the generic series "spl: full-featured heap cleanups" from:
https://patchwork.ozlabs.org/project/uboot/list/?series=99561

Changes in v4:
- make this patch 2/4 work without changing a10 heap allocation strategy (as the series doing that has been rejected)
- adapt to socfpga-next

Changes in v3:
- removed patch 2/5 from v2 (moved to patchwork #1067366, series #99561)
- adapt to socfpge-next: imply USE_TINY_PRINTF only for gen5 & a10, not s10
- adapt to socfpga-next

Changes in v2:
- fix commit message: "SPL post-reloc", not "SPL pre-reloc"
- added patch to imply/default common config options
- added patch to reduce gen5 SPL initial malloc pool to 2 KiB

Simon Goldschmidt (4):
arm: socfpga: fix comment about SPL memory layout
arm: socfpga: put initial U-Boot stack into DDR
arm: socfpga: imply/default common config options
arm: socfpga: gen5: reduce SPL pre-reloc malloc

 arch/arm/Kconfig                       |  2 ++
 arch/arm/mach-socfpga/Kconfig          | 23 ++++++++++++
 configs/socfpga_arria10_defconfig      |  6 ----
 configs/socfpga_arria5_defconfig       | 10 ------
 configs/socfpga_cyclone5_defconfig     | 10 ------
 configs/socfpga_dbm_soc1_defconfig     | 10 ------
 configs/socfpga_de0_nano_soc_defconfig | 10 ------
 configs/socfpga_de10_nano_defconfig    | 10 ------
 configs/socfpga_de1_soc_defconfig      | 10 ------
 configs/socfpga_is1_defconfig          |  8 -----
 configs/socfpga_sockit_defconfig       | 10 ------
 configs/socfpga_socrates_defconfig     | 10 ------
 configs/socfpga_sr1500_defconfig       | 10 ------
 configs/socfpga_stratix10_defconfig    |  2 --
 configs/socfpga_vining_fpga_defconfig  | 10 ------
 include/configs/socfpga_common.h       | 48 ++++++++++++--------------
 16 files changed, 48 insertions(+), 141 deletions(-)
Signature · 1 line
2.17.1