All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2]  Add support for dynamic overriding of default SF bus
@ 2022-05-11  6:03 Vaishnav Achath
  2022-05-11  6:03 ` [PATCH v2 1/2] common: spl: spl_spi: add support for dynamic override of sf bus Vaishnav Achath
  2022-05-11  6:03 ` [PATCH v2 2/2] arm: k3: j721e: add dynamic sf bus override support for j721e Vaishnav Achath
  0 siblings, 2 replies; 7+ messages in thread
From: Vaishnav Achath @ 2022-05-11  6:03 UTC (permalink / raw)
  To: hs, u-boot, sjg, mr.nuke.me, jh80.chung, michal.simek,
	marek.behun, pali, sr, marex, ricardo, vigneshr, s-anna, kishon,
	j-keerthy, p.yadav
  Cc: vaishnav.a

Currently the SPI flash to load from is defined through the compile
time config CONFIG_SF_DEFAULT_BUS and CONFIG_SF_DEFAULT_CS, this
prevents the loading of binaries from different SPI flash using the
same build.

This series adds support for choosing the flash device based on the
selected boot device thus allowing platforms to override the SF_BUS
and SF_CS to load from the desired flash.

Changes tested on J721E for OSPI and QSPI boot.

V1->V2:
  * drop unnecessary Kconfig option for SF bus override,
    suggested by Heiko Schocher.

Vaishnav Achath (2):
  common: spl: spl_spi: add support for dynamic override of sf bus
  arm: k3: j721e: add dynamic sf bus override support for j721e

 arch/arm/mach-k3/j721e_init.c   | 17 +++++++++++++++++
 arch/arm/mach-k3/sysfw-loader.c |  4 ++--
 common/spl/spl_spi.c            | 16 +++++++++++++---
 include/spl.h                   | 16 ++++++++++++++++
 4 files changed, 48 insertions(+), 5 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-31 10:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-11  6:03 [PATCH v2 0/2] Add support for dynamic overriding of default SF bus Vaishnav Achath
2022-05-11  6:03 ` [PATCH v2 1/2] common: spl: spl_spi: add support for dynamic override of sf bus Vaishnav Achath
2022-05-11  8:24   ` Heiko Schocher
2022-05-12  6:28     ` Vaishnav Achath
2022-05-31  8:59   ` Pratyush Yadav
2022-05-11  6:03 ` [PATCH v2 2/2] arm: k3: j721e: add dynamic sf bus override support for j721e Vaishnav Achath
2022-05-31 10:59   ` Pratyush Yadav

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.