All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Oberfichtner <pro@denx.de>
To: u-boot@lists.denx.de
Cc: "Christoph Niedermaier" <cniedermaier@dh-electronics.com>,
	"Stefano Babic" <sbabic@denx.de>, "Marek Vasut" <marex@denx.de>,
	"Philip Oberfichtner" <pro@denx.de>,
	"Adam Ford" <aford173@gmail.com>,
	"Anatolij Gustschin" <agust@denx.de>,
	"Andreas Geisreiter" <ageisreiter@dh-electronics.de>,
	"Andrew F. Davis" <afd@ti.com>,
	"Baruch Siach" <baruch@tkos.co.il>,
	"Bharat Gooty" <bharat.gooty@broadcom.com>,
	"Breno Lima" <breno.lima@nxp.com>,
	"Chin-Liang See" <clsee@altera.com>,
	"Chris Packham" <chris.packham@alliedtelesis.co.nz>,
	"Dalon Westergreen" <dwesterg@gmail.com>,
	"Dennis Gilmore" <dgilmore@redhat.com>,
	"Dinh Nguyen" <dinguyen@kernel.org>,
	"Dzmitry Sankouski" <dsankouski@gmail.com>,
	"Eric Bénard" <eric@eukrea.com>, "Eric Nelson" <eric@nelint.com>,
	"Fabio Estevam" <festevam@gmail.com>,
	"Francesco Montefoschi" <francesco.montefoschi@udoo.org>,
	"Heiko Schocher" <hs@denx.de>,
	"Holger Brunck" <holger.brunck@hitachienergy.com>,
	"Huan 'Kitty' Wang" <HuanWang@ge.com>,
	"Humberto Naves" <hsnaves@gmail.com>, "Ian Ray" <ian.ray@ge.com>,
	"Jaehoon Chung" <jh80.chung@samsung.com>,
	"Jagan Teki" <jagan@amarulasolutions.com>,
	"Jim Liu" <JJLIU0@nuvoton.com>,
	"Luka Kovacic" <luka.kovacic@sartura.hr>,
	"Luka Perkov" <luka.perkov@sartura.hr>,
	"Lukasz Majewski" <lukma@denx.de>,
	"Marcel Ziswiler" <marcel.ziswiler@toradex.com>,
	"Marek Behún" <kabel@kernel.org>,
	"Mario Six" <mario.six@gdsys.cc>,
	"Markus Niebel" <Markus.Niebel@tq-group.com>,
	"Martyn Welch" <martyn.welch@collabora.com>,
	"Matthias Winker" <matthias.winker@de.bosch.com>,
	"Michal Simek" <michal.simek@amd.com>,
	"Niel Fourie" <lusus@denx.de>,
	"Nikita Kiryanov" <nikita@compulab.co.il>,
	"Otavio Salvador" <otavio@ossystems.com.br>,
	"Pali Rohár" <pali@kernel.org>,
	"Patrick Delaunay" <patrick.delaunay@foss.st.com>,
	"Pavel Machek" <pavel@denx.de>,
	"Paweł Anikiel" <pan@semihalf.com>, "Peng Fan" <peng.fan@nxp.com>,
	"Phil Sutter" <phil@nwl.cc>,
	"Raffaele RECALCATI" <raffaele.recalcati@bticino.it>,
	"Rayagonda Kokatanur" <rayagonda.kokatanur@broadcom.com>,
	"Rick Chen" <rick@andestech.com>,
	"Rui Miguel Silva" <rui.silva@linaro.org>,
	"Sean Anderson" <sean.anderson@seco.com>,
	"Silvio Fricke" <open-source@softing.de>,
	"Simon Glass" <sjg@chromium.org>,
	"Simone CIANNI" <simone.cianni@bticino.it>,
	"Soeren Moch" <smoch@web.de>, "Stanley Chu" <yschu@nuvoton.com>,
	"Stefan Roese" <sr@denx.de>,
	"Stephan Gerhold" <stephan@gerhold.net>,
	"Thomas Huth" <thuth@redhat.com>,
	"Tim Harvey" <tharvey@gateworks.com>,
	"Tom Rini" <trini@konsulko.com>,
	"Troy Kisky" <troy.kisky@boundarydevices.com>,
	"Wolfgang Grandegger" <wg@aries-embedded.de>,
	"Wolfgang Wallner" <wolfgang.wallner@br-automation.com>,
	u-boot@dh-electronics.com
Subject: [PATCH v3 0/3] ARM: imx6: dh-imx6: Enable d-cache early in SPL
Date: Tue,  9 Aug 2022 12:06:59 +0200	[thread overview]
Message-ID: <20220809100703.3101047-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 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                          |  9 ++++++++
 arch/arm/lib/Makefile                     |  2 +-
 arch/arm/mach-mvebu/include/mach/config.h |  2 --
 board/dhelectronics/dh_imx6/dh_imx6_spl.c | 28 +++++++++++++++++++++++
 configs/am43xx_evm_defconfig              |  1 +
 configs/am43xx_evm_qspiboot_defconfig     |  1 +
 configs/am43xx_evm_rtconly_defconfig      |  1 +
 configs/am43xx_evm_usbhost_boot_defconfig |  1 +
 configs/am43xx_hs_evm_defconfig           |  1 +
 configs/am43xx_hs_evm_qspi_defconfig      |  1 +
 configs/apalis_imx6_defconfig             |  1 +
 configs/aristainetos2c_defconfig          |  1 +
 configs/aristainetos2ccslb_defconfig      |  1 +
 configs/clearfog_defconfig                |  1 +
 configs/cm_fx6_defconfig                  |  1 +
 configs/cm_t43_defconfig                  |  1 +
 configs/colibri_imx6_defconfig            |  1 +
 configs/controlcenterdc_defconfig         |  1 +
 configs/crs305-1g-4s-bit_defconfig        |  1 +
 configs/crs305-1g-4s_defconfig            |  1 +
 configs/crs326-24g-2s-bit_defconfig       |  1 +
 configs/crs326-24g-2s_defconfig           |  1 +
 configs/crs328-4c-20s-4s-bit_defconfig    |  1 +
 configs/crs328-4c-20s-4s_defconfig        |  1 +
 configs/db-88f6720_defconfig              |  1 +
 configs/db-88f6820-amc_defconfig          |  1 +
 configs/db-88f6820-gp_defconfig           |  1 +
 configs/db-mv784mp-gp_defconfig           |  1 +
 configs/db-xc3-24g4xg_defconfig           |  1 +
 configs/dh_imx6_defconfig                 |  2 ++
 configs/display5_defconfig                |  1 +
 configs/display5_factory_defconfig        |  1 +
 configs/ds414_defconfig                   |  1 +
 configs/ge_b1x5v2_defconfig               |  1 +
 configs/ge_bx50v3_defconfig               |  1 +
 configs/gwventana_emmc_defconfig          |  1 +
 configs/gwventana_gw5904_defconfig        |  1 +
 configs/gwventana_nand_defconfig          |  1 +
 configs/helios4_defconfig                 |  1 +
 configs/imx6dl_icore_nand_defconfig       |  1 +
 configs/imx6dl_mamoj_defconfig            |  1 +
 configs/imx6q_bosch_acc_defconfig         |  1 +
 configs/imx6q_icore_nand_defconfig        |  1 +
 configs/imx6q_logic_defconfig             |  1 +
 configs/imx6qdl_icore_mipi_defconfig      |  1 +
 configs/imx6qdl_icore_mmc_defconfig       |  1 +
 configs/imx6qdl_icore_nand_defconfig      |  1 +
 configs/imx6qdl_icore_rqs_defconfig       |  1 +
 configs/kp_imx6q_tpc_defconfig            |  1 +
 configs/marsboard_defconfig               |  1 +
 configs/maxbcm_defconfig                  |  1 +
 configs/mccmon6_nor_defconfig             |  1 +
 configs/mccmon6_sd_defconfig              |  1 +
 configs/mx6cuboxi_defconfig               |  1 +
 configs/mx6memcal_defconfig               |  1 +
 configs/mx6qsabrelite_defconfig           |  1 +
 configs/mx6sabreauto_defconfig            |  1 +
 configs/mx6sabresd_defconfig              |  1 +
 configs/mx6slevk_defconfig                |  1 +
 configs/mx6slevk_spinor_defconfig         |  1 +
 configs/mx6slevk_spl_defconfig            |  1 +
 configs/mx6sllevk_defconfig               |  1 +
 configs/mx6sllevk_plugin_defconfig        |  1 +
 configs/mx6sxsabreauto_defconfig          |  1 +
 configs/mx6sxsabresd_defconfig            |  1 +
 configs/nitrogen6dl2g_defconfig           |  1 +
 configs/nitrogen6dl_defconfig             |  1 +
 configs/nitrogen6q2g_defconfig            |  1 +
 configs/nitrogen6q_defconfig              |  1 +
 configs/nitrogen6s1g_defconfig            |  1 +
 configs/nitrogen6s_defconfig              |  1 +
 configs/novena_defconfig                  |  1 +
 configs/omap4_panda_defconfig             |  1 +
 configs/omap4_sdp4430_defconfig           |  1 +
 configs/pcm058_defconfig                  |  1 +
 configs/pico-imx6_defconfig               |  1 +
 configs/poleg_evb_defconfig               |  1 +
 configs/riotboard_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 +
 configs/tbs2910_defconfig                 |  1 +
 configs/theadorable_debug_defconfig       |  1 +
 configs/tqma6dl_mba6_mmc_defconfig        |  1 +
 configs/tqma6dl_mba6_spi_defconfig        |  1 +
 configs/tqma6q_mba6_mmc_defconfig         |  1 +
 configs/tqma6q_mba6_spi_defconfig         |  1 +
 configs/tqma6s_mba6_mmc_defconfig         |  1 +
 configs/tqma6s_mba6_spi_defconfig         |  1 +
 configs/turris_omnia_defconfig            |  1 +
 configs/udoo_defconfig                    |  1 +
 configs/udoo_neo_defconfig                |  1 +
 configs/vining_2000_defconfig             |  1 +
 configs/wandboard_defconfig               |  1 +
 configs/warp_defconfig                    |  1 +
 configs/x530_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 -
 124 files changed, 145 insertions(+), 18 deletions(-)

-- 
2.37.1


             reply	other threads:[~2022-08-09 12:15 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09 10:06 Philip Oberfichtner [this message]
2022-08-09 10:07 ` [PATCH v3 1/3] Convert CONFIG_SYS_L2_PL310 to Kconfig Philip Oberfichtner
2022-08-09 10:58   ` Pali Rohár
2022-08-09 11:16     ` Marek Vasut
2022-08-09 11:21       ` Pali Rohár
2022-08-09 11:27         ` Marek Vasut
2022-08-09 11:32           ` Pali Rohár
2022-08-09 11:38             ` Marek Vasut
2022-08-09 12:59               ` Pali Rohár
2022-08-09 13:16               ` Marek Behún
2022-08-09 13:18                 ` Marek Behún
2022-08-09 13:46             ` Tom Rini
2022-08-09 16:03               ` Marek Vasut
2022-08-09 16:36                 ` Tom Rini
2022-08-09 18:27                   ` Marek Vasut
2022-08-11 10:17                     ` Philip Oberfichtner
2022-08-16 14:42                       ` Philip Oberfichtner
2022-08-09 14:32         ` Phil Sutter
2022-08-12  8:39   ` Soeren Moch
2022-08-09 10:07 ` [PATCH v3 2/3] ARM: cache: Allow SPL to build cache-pl310.c Philip Oberfichtner
2022-08-09 10:07 ` [PATCH v3 3/3] ARM: imx6: dh-imx6: Enable d-cache early in SPL Philip Oberfichtner
2022-08-09 11:17   ` Marek Vasut

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=20220809100703.3101047-1-pro@denx.de \
    --to=pro@denx.de \
    --cc=HuanWang@ge.com \
    --cc=JJLIU0@nuvoton.com \
    --cc=Markus.Niebel@tq-group.com \
    --cc=afd@ti.com \
    --cc=aford173@gmail.com \
    --cc=ageisreiter@dh-electronics.de \
    --cc=agust@denx.de \
    --cc=baruch@tkos.co.il \
    --cc=bharat.gooty@broadcom.com \
    --cc=breno.lima@nxp.com \
    --cc=chris.packham@alliedtelesis.co.nz \
    --cc=clsee@altera.com \
    --cc=cniedermaier@dh-electronics.com \
    --cc=dgilmore@redhat.com \
    --cc=dinguyen@kernel.org \
    --cc=dsankouski@gmail.com \
    --cc=dwesterg@gmail.com \
    --cc=eric@eukrea.com \
    --cc=eric@nelint.com \
    --cc=festevam@gmail.com \
    --cc=francesco.montefoschi@udoo.org \
    --cc=holger.brunck@hitachienergy.com \
    --cc=hs@denx.de \
    --cc=hsnaves@gmail.com \
    --cc=ian.ray@ge.com \
    --cc=jagan@amarulasolutions.com \
    --cc=jh80.chung@samsung.com \
    --cc=kabel@kernel.org \
    --cc=luka.kovacic@sartura.hr \
    --cc=luka.perkov@sartura.hr \
    --cc=lukma@denx.de \
    --cc=lusus@denx.de \
    --cc=marcel.ziswiler@toradex.com \
    --cc=marex@denx.de \
    --cc=mario.six@gdsys.cc \
    --cc=martyn.welch@collabora.com \
    --cc=matthias.winker@de.bosch.com \
    --cc=michal.simek@amd.com \
    --cc=nikita@compulab.co.il \
    --cc=open-source@softing.de \
    --cc=otavio@ossystems.com.br \
    --cc=pali@kernel.org \
    --cc=pan@semihalf.com \
    --cc=patrick.delaunay@foss.st.com \
    --cc=pavel@denx.de \
    --cc=peng.fan@nxp.com \
    --cc=phil@nwl.cc \
    --cc=raffaele.recalcati@bticino.it \
    --cc=rayagonda.kokatanur@broadcom.com \
    --cc=rick@andestech.com \
    --cc=rui.silva@linaro.org \
    --cc=sbabic@denx.de \
    --cc=sean.anderson@seco.com \
    --cc=simone.cianni@bticino.it \
    --cc=sjg@chromium.org \
    --cc=smoch@web.de \
    --cc=sr@denx.de \
    --cc=stephan@gerhold.net \
    --cc=tharvey@gateworks.com \
    --cc=thuth@redhat.com \
    --cc=trini@konsulko.com \
    --cc=troy.kisky@boundarydevices.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 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.