[U-Boot] [PATCH v4 0/4] arm: socfpga: stack and Kconfig cleanups

Simon Goldschmidt simon.k.r.goldschmidt at gmail.com
Tue Apr 9 19:02:02 UTC 2019


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(-)

-- 
2.17.1



More information about the U-Boot mailing list