public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Siarhei Siamashka <siarhei.siamashka@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 60/66] spl: moveconfig: migrate CONFIG_SPL_LDSCRIPT
Date: Fri, 28 Jul 2017 22:52:44 +0300	[thread overview]
Message-ID: <20170728225244.15bb0b38@i7> (raw)
In-Reply-To: <1501269764-13969-61-git-send-email-philipp.tomsich@theobroma-systems.com>

On Fri, 28 Jul 2017 21:22:32 +0200
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> wrote:

> With SPL_LDSCRIPT defined via Kconfig, we can run moveconfig... this
> will touch every configuration that uses SPL, even if there was an
> implicit resolution of the SPL_LDSCRIPT: now everything is explicit.
> 
> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> 
> ---
> 
> Changes in v3:
> - moveconfig.py CONFIG_SPL_LDSCRIPT
>   (Note: I really don't know whether this is what we want, as it's
>   making the SPL_LDSCRIPT resolution explicit for every board...
>   then again, I understood Tom's comment that moving things into
>   Kconfig should be the priority...)
> 
> Changes in v2: None
> 
>  configs/A10-OLinuXino-Lime_defconfig                | 1 +

[...]

>  include/configs/zynq-common.h                       | 2 --
>  369 files changed, 313 insertions(+), 106 deletions(-)
> 
> diff --git a/configs/A10-OLinuXino-Lime_defconfig b/configs/A10-OLinuXino-Lime_defconfig
> index 9143022..7d45c1d 100644
> --- a/configs/A10-OLinuXino-Lime_defconfig
> +++ b/configs/A10-OLinuXino-Lime_defconfig
> @@ -11,6 +11,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-olinuxino-lime"
>  CONFIG_AHCI=y
>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>  CONFIG_SPL=y
> +CONFIG_SPL_LDSCRIPT="arch/arm/cpu/armv7/sunxi/u-boot-spl.lds"

Why do we want to clutter board-specific config files with this
information?

If this is migrated to Kconfig, then we probably want to have
reasonable SoC-specific defaults there and leave defconfigs alone.

>  CONFIG_SPL_I2C_SUPPORT=y
>  # CONFIG_CMD_IMLS is not set
>  # CONFIG_CMD_FLASH is not set


-- 
Best regards,
Siarhei Siamashka

  reply	other threads:[~2017-07-28 19:52 UTC|newest]

Thread overview: 95+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-28 19:21 [U-Boot] [PATCH v3 00/66] Support OF_PLATDATA in TPL, enable RK3368 DRAM init and add RK3368-uQ7 Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 01/66] spl: add a 'return to bootrom' boot method Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 02/66] spl: configure 'return to bootrom' separately for SPL and TPL Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 03/66] rockchip: back-to-bootrom: add 'back-to-bootrom' support for AArch64 Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 04/66] rockchip: back-to-bootrom: split BACK_TO_BOOTROM for TPL/SPL Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 05/66] rockchip: back-to-bootrom: simplify the #ifdef-check for LIBGENERIC in TPL/SPL Philipp Tomsich
2017-08-01  7:30   ` Andy Yan
2017-07-28 19:21 ` [U-Boot] [PATCH v3 06/66] spl: adapts SYS_MALLOC_F_LEN for TPL Philipp Tomsich
2017-08-01  9:48   ` Simon Glass
2017-07-28 19:21 ` [U-Boot] [PATCH v3 07/66] spl: dm: Kconfig: fix help text for SPL/TPL confusion Philipp Tomsich
2017-08-01  9:48   ` Simon Glass
2017-07-28 19:21 ` [U-Boot] [PATCH v3 08/66] spl: dm: Kconfig: use more specific prereqs for SPL_REGMAP and SPL_SYSCON Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 09/66] spl: dm: Kconfig: split REGMAP/SYSCON support for TPL from SPL Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 10/66] spl: dm: Kconfig: SPL_RAM depends on SPL_DM Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 11/66] spl: dm: Kconfig: introduce TPL_RAM (in analogy to SPL_RAM) Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 12/66] spl: dm: Kconfig: SPL_CLK depends on SPL_DM Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 13/66] spl: dm: Kconfig: split CLK support for SPL and TPL Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 14/66] spl: dm: Kconfig: split OF_CONTROL and OF_PLATDATA between " Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 15/66] spl: dm: use CONFIG_IS_ENABLED to test for the DM option Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 16/66] armv8: move low-level assembly functions into function-sections Philipp Tomsich
2017-08-01  9:49   ` Simon Glass
2017-07-28 19:21 ` [U-Boot] [PATCH v3 17/66] armv8: spl: Support separate stack for TPL Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 18/66] spl: allow a separate TEXT_BASE, LDSCRIPT and MAX_SIZE " Philipp Tomsich
2017-08-01  9:48   ` Simon Glass
2017-07-28 19:21 ` [U-Boot] [PATCH v3 19/66] spl: Kconfig: split SYS_MALLOC_SIMPLE for TPL and SPL Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 20/66] lib: spl: differentiate between TPL and SPL for libfdt/of_control/of_platdata Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 21/66] spl: consistently use $(SPL_TPL_) to select features for SPL and TPL builds Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 22/66] spl: add TPL_DRIVER_MISC_SUPPORT option Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 23/66] drivers: spl: consistently use the $(SPL_TPL_) macro Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 24/66] rockchip: Makefile: allow selective inclusion of sdram_common.o from TPL/SPL/U-Boot Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 25/66] rockchip: rk3368: improve Kconfig text for the RK3368 Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 26/66] rockchip: rk3368: mkimage: add support " Philipp Tomsich
2017-07-28 19:21 ` [U-Boot] [PATCH v3 27/66] rockchip: rk3368: pmugrf: add definitions for os_reg[0..3] Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 28/66] rockchip: rk3368: spl: define COUNTER_FREQUENCY to 24MHz Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 29/66] rockchip: rk3368: spl: add memory layout for TPL and SPL Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 30/66] rockchip: rk3368: syscon: MSCH/PMUGRF/GRF support for OF_PLATDATA Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 31/66] rockchip: rk3368: syscon: SGRF " Philipp Tomsich
2017-08-01  9:48   ` Simon Glass
2017-07-28 19:22 ` [U-Boot] [PATCH v3 32/66] rockchip: rk3368: grf: use shifted-constants Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 33/66] rockchip: rk3368: dts: add sgrf node Philipp Tomsich
2017-08-01  9:48   ` Simon Glass
2017-07-28 19:22 ` [U-Boot] [PATCH v3 34/66] rockchip: pinctrl: rk3368: add GMAC (RGMII only) support Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 35/66] rockchip: pinctrl: rk3368: add support for configuring the MMC pins Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 36/66] rockchip: pinctrl: rk3368: move IOMUX bit-definitions to pinctrl driver Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 37/66] rockchip: pinctrl: rk3368: add SPI support Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 38/66] rockchip: clk: rk3368: implement bandwidth adjust for PLLs Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 39/66] rockchip: clk: rk3368: support OF_PLATDATA for the RK3368 clk driver Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 40/66] rockchip: clk: rk3368: do not change CPLL/GPLL before returning to BROM Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 41/66] rockchip: clk: rk3368: implement DPLL (DRAM PLL) support Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 42/66] rockchip: clk: rk3368: define DMA1_SRST_REQ and DMA2_SRST_REQ Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 43/66] rockchip: clk: rk3368: implement MMC/SD clock reparenting Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 44/66] rockchip: clk: rk3368: support configuring the DRAM PLL (from TPL) Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 45/66] rockchip: clk: rk3368: add support for GMAC (SLCK_MAC) clock Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 46/66] rockchip: clk: rk3368: mark 'priv' __maybe_unused in rk3368_clk_set_rate() Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 47/66] rockchip: clk: rk3368: add support for configuring the SPI clocks Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 48/66] net: gmac_rockchip: Add support for the RK3368 GMAC Philipp Tomsich
2017-08-01  9:49   ` Simon Glass
2017-08-01  9:57     ` Dr. Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 49/66] rockchip: Makefile: streamline SPL/TPL configuration Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 50/66] rockchip: rk3368: add DRAM controller driver with DRAM initialisation Philipp Tomsich
2017-08-01  1:30   ` Andy Yan
2017-08-01  2:09     ` 汤云平
2017-08-02 10:06   ` Andy Yan
2017-08-02 10:59     ` Dr. Philipp Tomsich
2017-08-02 12:09       ` Andy Yan
2017-07-28 19:22 ` [U-Boot] [PATCH v3 51/66] rockchip: rk3368: dts: add DMC node in rk3368.dtsi Philipp Tomsich
2017-08-01  9:48   ` Simon Glass
2017-07-28 19:22 ` [U-Boot] [PATCH v3 52/66] rockchip: rk3368: spl: enable SPL_FRAMEWORK in rk3368_common.h Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 53/66] rockchip: rk3368: spl: add TPL support Philipp Tomsich
2017-08-01  9:48   ` Simon Glass
2017-07-28 19:22 ` [U-Boot] [PATCH v3 54/66] rockchip: spl: make spl-boot-order code reusable (split from rk3399) Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 55/66] rockchip: rk3368: spl: add SPL support Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 56/66] rockchip: rk3368: spl: mark SPL and TPL as supported for ROCKCHIP_RK3368 Philipp Tomsich
2017-08-02 12:47   ` Andy Yan
2017-08-02 12:59     ` Dr. Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 57/66] rockchip: spi: enable support for the rk_spi driver for the RK3368 Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 58/66] rockchip: board: lion-rk3368: add support for the RK3368-uQ7 Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 59/66] spl: Kconfig: migrate $(SPL_TPL_)LDSCRIPT to Kconfig Philipp Tomsich
2017-08-01  9:48   ` Simon Glass
2017-07-28 19:22 ` [U-Boot] [PATCH v3 60/66] spl: moveconfig: migrate CONFIG_SPL_LDSCRIPT Philipp Tomsich
2017-07-28 19:52   ` Siarhei Siamashka [this message]
2017-07-28 20:05     ` Dr. Philipp Tomsich
2017-07-28 20:20       ` Adam Ford
2017-07-28 19:22 ` [U-Boot] [PATCH v3 61/66] spl: support TPL_STACK, TPL_MAX_SIZE and TPL_TEXT_BASE via Kconfig Philipp Tomsich
2017-08-01  9:49   ` Simon Glass
2017-07-28 19:22 ` [U-Boot] [PATCH v3 62/66] armv8: TPL_STACK will always be defined, so test CONFIG_TPL_NEEDS_SEPARATE_STACK Philipp Tomsich
2017-08-01  9:49   ` Simon Glass
2017-07-28 19:22 ` [U-Boot] [PATCH v3 63/66] rockchip: rk3368: mark TPL as not inheriting its stack, text-base and size from SPL Philipp Tomsich
2017-08-01  9:49   ` Simon Glass
2017-07-28 19:22 ` [U-Boot] [PATCH v3 64/66] moveconfig: migrate TPL_STACK, TPL_TEXT_BASE and TPL_MAX_SIZE Philipp Tomsich
2017-08-01  9:48   ` Simon Glass
2017-07-28 19:22 ` [U-Boot] [PATCH v3 65/66] rockchip: board: puma-rk3399: fix warnings in puma_rk3399/fit_spl_atf.its Philipp Tomsich
2017-08-02  3:10   ` Kever Yang
2017-08-02  9:09     ` Dr. Philipp Tomsich
2017-07-28 19:22 ` [U-Boot] [PATCH v3 66/66] rockchip: board: puma_rk3399: rename ATF firmware Philipp Tomsich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170728225244.15bb0b38@i7 \
    --to=siarhei.siamashka@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox