mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/6] add multiimage support for sama5d3 based microchip-ksz9477-evb board
@ 2021-04-23 14:28 Oleksij Rempel
  2021-04-23 14:28 ` [PATCH v2 1/6] mci: atmel_mci: add PBL support Oleksij Rempel
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Oleksij Rempel @ 2021-04-23 14:28 UTC (permalink / raw)
  To: barebox; +Cc: Oleksij Rempel

changes v2:
- add proper sanity check for atmci_instances array size
- add comment about initial MCI state and reason why reconfiguration is
  needed.

This patch series provide multiimage support for the microchip-ksz9477-evb.
The main work was done to make atmel_mci driver reusable for the
pbl/xloader.

With this patches it is possible to build first and second stages in one
run with one defconfig.

Oleksij Rempel (6):
  mci: atmel_mci: add PBL support
  ARM: at91: xload-mmc: add sama5d3_atmci_start_image() helper
  ARM: at91: ddramc: add sama5d3_barebox_entry() handler
  ARM: at91: add __sama5d3_stashed_bootrom_r4 helper
  ARM: at91: add sama5d3_lowlevel_init() helpers
  ARM: at91: sama5d3: add multiimage support for the
    microchip-ksz9477-evb

 .../boards/microchip-ksz9477-evb/lowlevel.c   |  33 +-
 arch/arm/mach-at91/Kconfig                    |   2 +
 arch/arm/mach-at91/Makefile                   |   1 +
 arch/arm/mach-at91/ddramc.c                   |   8 +
 arch/arm/mach-at91/include/mach/ddramc.h      |   1 +
 .../mach-at91/include/mach/sama5_bootsource.h |   3 +
 .../include/mach/sama5d3-xplained-ddramc.h    |  88 ++++
 arch/arm/mach-at91/include/mach/sama5d3_ll.h  |  24 +
 arch/arm/mach-at91/include/mach/xload.h       |   4 +
 arch/arm/mach-at91/sama5d3_ll.c               |  34 ++
 arch/arm/mach-at91/xload-mmc.c                |  51 ++
 drivers/mci/Kconfig                           |   4 +
 drivers/mci/Makefile                          |   3 +-
 drivers/mci/atmel-mci-regs.h                  |  37 ++
 drivers/mci/atmel_mci.c                       | 494 +-----------------
 drivers/mci/atmel_mci_common.c                | 465 +++++++++++++++++
 drivers/mci/atmel_mci_pbl.c                   | 116 ++++
 images/Makefile.at91                          |   5 +
 18 files changed, 885 insertions(+), 488 deletions(-)
 create mode 100644 arch/arm/mach-at91/include/mach/sama5d3-xplained-ddramc.h
 create mode 100644 arch/arm/mach-at91/include/mach/sama5d3_ll.h
 create mode 100644 arch/arm/mach-at91/sama5d3_ll.c
 create mode 100644 drivers/mci/atmel_mci_common.c
 create mode 100644 drivers/mci/atmel_mci_pbl.c

-- 
2.29.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


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

end of thread, other threads:[~2021-05-03 10:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-23 14:28 [PATCH v2 0/6] add multiimage support for sama5d3 based microchip-ksz9477-evb board Oleksij Rempel
2021-04-23 14:28 ` [PATCH v2 1/6] mci: atmel_mci: add PBL support Oleksij Rempel
2021-04-23 14:28 ` [PATCH v2 2/6] ARM: at91: xload-mmc: add sama5d3_atmci_start_image() helper Oleksij Rempel
2021-04-23 15:26   ` Ahmad Fatoum
2021-04-23 15:54     ` Oleksij Rempel
2021-04-23 15:56       ` Ahmad Fatoum
2021-05-03 10:51   ` Sascha Hauer
2021-04-23 14:28 ` [PATCH v2 3/6] ARM: at91: ddramc: add sama5d3_barebox_entry() handler Oleksij Rempel
2021-04-23 14:28 ` [PATCH v2 4/6] ARM: at91: add __sama5d3_stashed_bootrom_r4 helper Oleksij Rempel
2021-04-23 14:28 ` [PATCH v2 5/6] ARM: at91: add sama5d3_lowlevel_init() helpers Oleksij Rempel
2021-04-23 14:28 ` [PATCH v2 6/6] ARM: at91: sama5d3: add multiimage support for the microchip-ksz9477-evb Oleksij Rempel
2021-04-23 15:29   ` Ahmad Fatoum
2021-04-23 15:51     ` Oleksij Rempel
2021-04-23 15:58       ` Ahmad Fatoum
2021-05-03 10:51 ` [PATCH v2 0/6] add multiimage support for sama5d3 based microchip-ksz9477-evb board Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox