public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Philip Oberfichtner <pro@denx.de>
To: u-boot@lists.denx.de
Cc: "Stefano Babic" <sbabic@denx.de>, "Marek Vasut" <marex@denx.de>,
	"Christoph Niedermaier" <cniedermaier@dh-electronics.com>,
	"Philip Oberfichtner" <pro@denx.de>,
	"Anatolij Gustschin" <agust@denx.de>,
	"Andreas Geisreiter" <ageisreiter@dh-electronics.de>,
	"Bharat Gooty" <bharat.gooty@broadcom.com>,
	"Chin-Liang See" <clsee@altera.com>,
	"Dalon Westergreen" <dwesterg@gmail.com>,
	"Dinh Nguyen" <dinguyen@kernel.org>,
	"Dzmitry Sankouski" <dsankouski@gmail.com>,
	"Holger Brunck" <holger.brunck@hitachienergy.com>,
	"Humberto Naves" <hsnaves@gmail.com>,
	"Jaehoon Chung" <jh80.chung@samsung.com>,
	"Jim Liu" <JJLIU0@nuvoton.com>, "Marek Behún" <kabel@kernel.org>,
	"Michal Simek" <michal.simek@amd.com>,
	"Nikita Kiryanov" <nikita@compulab.co.il>,
	"Patrick Delaunay" <patrick.delaunay@foss.st.com>,
	"Pavel Machek" <pavel@denx.de>,
	"Paweł Anikiel" <pan@semihalf.com>, "Peng Fan" <peng.fan@nxp.com>,
	"Rayagonda Kokatanur" <rayagonda.kokatanur@broadcom.com>,
	"Rick Chen" <rick@andestech.com>,
	"Rui Miguel Silva" <rui.silva@linaro.org>,
	"Sean Anderson" <sean.anderson@seco.com>,
	"Simon Glass" <sjg@chromium.org>,
	"Stanley Chu" <yschu@nuvoton.com>, "Stefan Roese" <sr@denx.de>,
	"Stephan Gerhold" <stephan@gerhold.net>,
	"Thomas Huth" <thuth@redhat.com>, "Tom Rini" <trini@konsulko.com>,
	"Wolfgang Grandegger" <wg@aries-embedded.de>,
	"Wolfgang Wallner" <wolfgang.wallner@br-automation.com>,
	u-boot@dh-electronics.com
Subject: [PATCH v6 0/3] ARM: imx6: dh-imx6: Enable d-cache early in SPL
Date: Wed, 17 Aug 2022 15:07:11 +0200	[thread overview]
Message-ID: <20220817130714.3487965-1-pro@denx.de> (raw)


This patch series enables d-cache in SPL for i.MX6 based
boards from DH in order to improve boot time.

This can only be achieved after migrating the corresponding
symbols to Kconfig, which is done in patch 1/3 and 2/3.

Changes in v6:
        - Once more improve the dcache_disable() comment

Changes in v5:
        - Clarify dcache_disable() comment

Changes in v4:
        - Reduce diffstat by using 'select' statements for omap2, mvebu
          and mx6 based boards
        - Elaborate on dcache_disable() comment

Changes in v3:
        - Introduce CONFIG_SPL_SYS_L2_PL310
        - Convert CONFIG_SYS_L2_PL310 to Kconfig
        - Use newly introduced Kconfig symbol for dh_imx6_defconfig

Changes in v2:
        - Add comment to explain the relevance of dcache_disable()

Marek Vasut (1):
  ARM: imx6: dh-imx6: Enable d-cache early in SPL

Philip Oberfichtner (2):
  Convert CONFIG_SYS_L2_PL310 to Kconfig
  ARM: cache: Allow SPL to build cache-pl310.c

 README                                    |  2 --
 arch/arm/Kconfig                          | 10 ++++++
 arch/arm/lib/Makefile                     |  2 +-
 arch/arm/mach-mvebu/Kconfig               |  1 +
 arch/arm/mach-mvebu/include/mach/config.h |  2 --
 arch/arm/mach-omap2/Kconfig               |  1 +
 board/dhelectronics/dh_imx6/dh_imx6_spl.c | 41 +++++++++++++++++++++++
 configs/dh_imx6_defconfig                 |  1 +
 configs/omap4_panda_defconfig             |  1 +
 configs/omap4_sdp4430_defconfig           |  1 +
 configs/poleg_evb_defconfig               |  1 +
 configs/socfpga_arria10_defconfig         |  1 +
 configs/socfpga_arria5_defconfig          |  1 +
 configs/socfpga_chameleonv3_defconfig     |  1 +
 configs/socfpga_cyclone5_defconfig        |  1 +
 configs/socfpga_dbm_soc1_defconfig        |  1 +
 configs/socfpga_de0_nano_soc_defconfig    |  1 +
 configs/socfpga_de10_nano_defconfig       |  1 +
 configs/socfpga_de10_standard_defconfig   |  1 +
 configs/socfpga_de1_soc_defconfig         |  1 +
 configs/socfpga_is1_defconfig             |  1 +
 configs/socfpga_mcvevk_defconfig          |  1 +
 configs/socfpga_secu1_defconfig           |  1 +
 configs/socfpga_sockit_defconfig          |  1 +
 configs/socfpga_socrates_defconfig        |  1 +
 configs/socfpga_sr1500_defconfig          |  1 +
 configs/socfpga_vining_fpga_defconfig     |  1 +
 configs/stemmy_defconfig                  |  1 +
 include/configs/am43xx_evm.h              |  1 -
 include/configs/brppt2.h                  |  1 -
 include/configs/cm_t43.h                  |  1 -
 include/configs/mx6_common.h              |  1 -
 include/configs/odroid.h                  |  1 -
 include/configs/poleg.h                   |  1 -
 include/configs/socfpga_common.h          |  1 -
 include/configs/stemmy.h                  |  1 -
 include/configs/ti_omap4_common.h         |  1 -
 include/configs/trats.h                   |  1 -
 include/configs/trats2.h                  |  1 -
 include/configs/zynq-common.h             |  1 -
 scripts/config_whitelist.txt              |  1 -
 41 files changed, 75 insertions(+), 18 deletions(-)

-- 
2.37.1


             reply	other threads:[~2022-08-18 12:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-17 13:07 Philip Oberfichtner [this message]
2022-08-17 13:07 ` [PATCH v6 1/3] Convert CONFIG_SYS_L2_PL310 to Kconfig Philip Oberfichtner
2022-09-02 13:00   ` Tom Rini
2022-08-17 13:07 ` [PATCH v6 2/3] ARM: cache: Allow SPL to build cache-pl310.c Philip Oberfichtner
2022-09-02 13:00   ` Tom Rini
2022-08-17 13:07 ` [PATCH v6 3/3] ARM: imx6: dh-imx6: Enable d-cache early in SPL Philip Oberfichtner
2022-09-02 13:00   ` 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=20220817130714.3487965-1-pro@denx.de \
    --to=pro@denx.de \
    --cc=JJLIU0@nuvoton.com \
    --cc=ageisreiter@dh-electronics.de \
    --cc=agust@denx.de \
    --cc=bharat.gooty@broadcom.com \
    --cc=clsee@altera.com \
    --cc=cniedermaier@dh-electronics.com \
    --cc=dinguyen@kernel.org \
    --cc=dsankouski@gmail.com \
    --cc=dwesterg@gmail.com \
    --cc=holger.brunck@hitachienergy.com \
    --cc=hsnaves@gmail.com \
    --cc=jh80.chung@samsung.com \
    --cc=kabel@kernel.org \
    --cc=marex@denx.de \
    --cc=michal.simek@amd.com \
    --cc=nikita@compulab.co.il \
    --cc=pan@semihalf.com \
    --cc=patrick.delaunay@foss.st.com \
    --cc=pavel@denx.de \
    --cc=peng.fan@nxp.com \
    --cc=rayagonda.kokatanur@broadcom.com \
    --cc=rick@andestech.com \
    --cc=rui.silva@linaro.org \
    --cc=sbabic@denx.de \
    --cc=sean.anderson@seco.com \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=stephan@gerhold.net \
    --cc=thuth@redhat.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@dh-electronics.com \
    --cc=u-boot@lists.denx.de \
    --cc=wg@aries-embedded.de \
    --cc=wolfgang.wallner@br-automation.com \
    --cc=yschu@nuvoton.com \
    /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