[PATCH 0/9] ARM: OMAP: beaglebone: add PBL SD xload support
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Apr 21 22:26:26 PDT 2025
To allow for easier BSP integration, add support for generating a MLO
capable of SD-Card boot in the same build as barebox proper
For raw flash boot, the route with the separate config needs to be used.
Ahmad Fatoum (9):
clocksource: make available in PBL
clocksource: ti-dm: make available in PBL
mci: move mci_setup_cmd definition into header
mci: add common PBL helper for chainloading after BootROM
initialization
mci: pbl: add autodetection of BootROM-initialized standard capacity
cards
mci: omap_hsmmc: split out common code
ARM: OMAP: add am33xx_hsmmc_start_image for PBL
mci: omap_hsmmc: add xload implementation for PBL
ARM: OMAP: beaglebone: add PBL SD xload support
arch/arm/boards/beaglebone/lowlevel.c | 10 +-
arch/arm/mach-omap/Kconfig | 9 +-
arch/arm/mach-omap/Makefile | 1 +
arch/arm/mach-omap/am33xx_generic.c | 38 +-
arch/arm/mach-omap/am33xx_xload.c | 66 ++++
common/Makefile | 1 +
common/clock.c | 5 +-
drivers/clocksource/Makefile | 2 +-
drivers/clocksource/timer-ti-dm.c | 19 +-
drivers/mci/Kconfig | 3 +
drivers/mci/Makefile | 4 +-
drivers/mci/mci-core.c | 15 -
drivers/mci/mci-pbl.c | 212 +++++++++++
drivers/mci/omap_hsmmc.c | 509 +------------------------
drivers/mci/omap_hsmmc.h | 17 +
drivers/mci/omap_hsmmc_common.c | 530 ++++++++++++++++++++++++++
drivers/mci/omap_hsmmc_pbl.c | 32 ++
images/Makefile.am33xx | 4 +
include/mach/omap/am33xx-clock.h | 3 +
include/mach/omap/am33xx-generic.h | 2 +
include/mach/omap/xload.h | 14 +
include/mci.h | 16 +
include/pbl/mci.h | 37 ++
include/sched.h | 2 +-
pbl/Kconfig | 3 +
25 files changed, 1000 insertions(+), 554 deletions(-)
create mode 100644 arch/arm/mach-omap/am33xx_xload.c
create mode 100644 drivers/mci/mci-pbl.c
create mode 100644 drivers/mci/omap_hsmmc.h
create mode 100644 drivers/mci/omap_hsmmc_common.c
create mode 100644 drivers/mci/omap_hsmmc_pbl.c
create mode 100644 include/mach/omap/xload.h
create mode 100644 include/pbl/mci.h
--
2.39.5
More information about the barebox
mailing list