[PATCH v4 0/4] Conclusive KSTR-SAMA5D27 support
Artur Rojek
artur at conclusive.pl
Mon Oct 9 16:41:47 CEST 2023
Hi all,
this is v4 of the Conclusive KSTR-SAMA5D27 support series.
Patch [1/4] now reverts to the approach found in v2.
Simon, while the behavior is now identical to the one from v2, I
retained the serial_read_from_eeprom() function name from v3 (it makes
it more consistent with the existing mac_read_from_eeprom()). Because of
that, I refrained from copying your v2 Reviewed-by tag.
Patch [2/4] is new. It introduces a new event, intended to be called
post-relocation and before console init.
As a result, [v3 2/4] patch gets dropped in favor of this much simpler
solution (see [4/4] below for use case).
Patch [3/4] remains unchanged.
Patch [4/4] makes use of the newly introduced EVT_SETTINGS_R, utilizing
it for EEPROM readout of MAC and board serial number settings.
Artur Rojek (4):
common: add prototype & rename populate_serial_number()
event: add new EVT_SETTINGS_R event
arm: dts: at91: sama5: Add flexcom4 node
board: Add support for Conclusive KSTR-SAMA5D27
arch/arm/dts/Makefile | 3 +
arch/arm/dts/at91-kstr-sama5d27.dts | 131 ++++++++++
arch/arm/dts/sama5d2.dtsi | 20 ++
arch/arm/mach-at91/Kconfig | 12 +
board/conclusive/kstr-sama5d27/Kconfig | 15 ++
board/conclusive/kstr-sama5d27/MAINTAINERS | 8 +
board/conclusive/kstr-sama5d27/Makefile | 5 +
.../conclusive/kstr-sama5d27/kstr-sama5d27.c | 239 ++++++++++++++++++
cmd/tlv_eeprom.c | 14 +-
common/board_r.c | 1 +
common/event.c | 1 +
configs/kstr_sama5d27_defconfig | 73 ++++++
include/configs/kstr-sama5d27.h | 15 ++
include/event.h | 9 +
include/init.h | 14 +
15 files changed, 547 insertions(+), 13 deletions(-)
create mode 100644 arch/arm/dts/at91-kstr-sama5d27.dts
create mode 100644 board/conclusive/kstr-sama5d27/Kconfig
create mode 100644 board/conclusive/kstr-sama5d27/MAINTAINERS
create mode 100644 board/conclusive/kstr-sama5d27/Makefile
create mode 100644 board/conclusive/kstr-sama5d27/kstr-sama5d27.c
create mode 100644 configs/kstr_sama5d27_defconfig
create mode 100644 include/configs/kstr-sama5d27.h
--
2.42.0
More information about the U-Boot
mailing list