mbox series

[U-Boot,v3,0/4] arm: socfpga: stack and Kconfig cleanups

Message ID 20190328200719.31274-1-simon.k.r.goldschmidt@gmail.com
Headers show
Series arm: socfpga: stack and Kconfig cleanups | expand

Message

Simon Goldschmidt March 28, 2019, 8:07 p.m. UTC
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 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

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          | 24 ++++++++++++++++++++++++
 configs/socfpga_arria10_defconfig      |  8 --------
 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    |  3 ---
 configs/socfpga_vining_fpga_defconfig  | 10 ----------
 include/configs/socfpga_common.h       | 26 ++++++++++++++++----------
 16 files changed, 42 insertions(+), 129 deletions(-)