All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/4] omapl138_lcdk: fix MMC boot
@ 2019-11-14 15:10 Bartosz Golaszewski
  2019-11-14 15:10 ` [U-Boot] [PATCH 1/4] mmc: davinci: drop support for ti,dm6441-mmc Bartosz Golaszewski
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Bartosz Golaszewski @ 2019-11-14 15:10 UTC (permalink / raw)
  To: u-boot

From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Booting from MMC on omapl138-lcdk is currently broken after we enabled
driver-model in SPL. While I know what's wrong - the bind() callback not
being called - I can't for the life of me figure out how to fix it.

I'm still working on proper changes, but for now, I'd like to propose
this series which fixes MMC boot with a workaround in which we call
mmc_boot() manually from probe.

First two patches drop some legacy code that's no longer needed. The
third patch adds a U_BOOT_DEVICE() for mmc as we don't yet have full
DT support (also in-progress). The last patch adds the workaround to
the davinci mmc driver.

This series depends on Adam Ford's patch increasing the pre-reloc
malloc pool.

[1] https://patchwork.ozlabs.org/patch/1192574/

Bartosz Golaszewski (4):
  mmc: davinci: drop support for ti,dm6441-mmc
  mmc: davinci: drop struct davinci_mmc_plat
  board: omapl138_lcdk: add the mmc device to SPL
  mmc: davinci: fix mmc boot in SPL

 arch/arm/mach-davinci/Kconfig                 |  1 +
 .../mach-davinci/include/mach/sdmmc_defs.h    |  6 --
 board/davinci/da8xxevm/omapl138_lcdk.c        | 10 ++-
 drivers/mmc/davinci_mmc.c                     | 73 +++++++------------
 4 files changed, 36 insertions(+), 54 deletions(-)

-- 
2.23.0

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

end of thread, other threads:[~2020-01-03 17:26 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-14 15:10 [U-Boot] [PATCH 0/4] omapl138_lcdk: fix MMC boot Bartosz Golaszewski
2019-11-14 15:10 ` [U-Boot] [PATCH 1/4] mmc: davinci: drop support for ti,dm6441-mmc Bartosz Golaszewski
2019-12-04  4:01   ` [U-Boot] [PATCH 1/4] mmc: davinci: drop support for ti, dm6441-mmc Tom Rini
2019-11-14 15:10 ` [U-Boot] [PATCH 2/4] mmc: davinci: drop struct davinci_mmc_plat Bartosz Golaszewski
2019-12-04  4:01   ` Tom Rini
2020-01-03 16:01   ` Adam Ford
2020-01-03 16:50     ` Bartosz Golaszewski
2020-01-03 16:59       ` Tom Rini
2020-01-03 17:26         ` Adam Ford
2019-11-14 15:10 ` [U-Boot] [PATCH 3/4] board: omapl138_lcdk: add the mmc device to SPL Bartosz Golaszewski
2019-12-04  4:02   ` Tom Rini
2019-11-14 15:10 ` [U-Boot] [PATCH 4/4] mmc: davinci: fix mmc boot in SPL Bartosz Golaszewski
2019-12-04  4:02   ` Tom Rini
2019-12-02  9:32 ` [U-Boot] [PATCH 0/4] omapl138_lcdk: fix MMC boot Bartosz Golaszewski
2019-12-02 11:54   ` Adam Ford

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.