All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 13/56] spl: dm: use CONFIG_IS_ENABLED to test for the DM option
Date: Thu, 27 Jul 2017 21:37:48 -0600	[thread overview]
Message-ID: <CAPnjgZ3VAGcuOfOe8iwAmRvzNMgm_j_aY=40eUq0q1LZKZ42VA@mail.gmail.com> (raw)
In-Reply-To: <1501065662-52029-14-git-send-email-philipp.tomsich@theobroma-systems.com>

On 26 July 2017 at 04:40, Philipp Tomsich
<philipp.tomsich@theobroma-systems.com> wrote:
> Even though there's now a TPL_DM configuration option, the spl logic
> still checks for SPL_DM and thus does not pick up the proper config
> option.
>
> This introduces the use of CONFIG_IS_ENABLED(DM) in spl.c to always
> pick up the desired configuration option instead of having a
> hard-coded check for the SPL variant.
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
>
> Changes in v2: None
>
>  common/spl/spl.c        |  5 +++--
>  include/linux/kconfig.h | 13 +++++++++++++
>  2 files changed, 16 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

  parent reply	other threads:[~2017-07-28  3:37 UTC|newest]

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

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='CAPnjgZ3VAGcuOfOe8iwAmRvzNMgm_j_aY=40eUq0q1LZKZ42VA@mail.gmail.com' \
    --to=sjg@chromium.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.