DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: distrokit@pengutronix.de
Cc: "Leonard Göhrs" <l.goehrs@pengutronix.de>,
	"Roland Hieber" <rhi@pengutronix.de>
Subject: [DistroKit] [PATCH v2 3/5] v7a: barebox: enable support for LXA FairyTux 2
Date: Wed, 11 Mar 2026 16:19:56 +0100	[thread overview]
Message-ID: <20260311152030.3108779-3-rhi@pengutronix.de> (raw)
In-Reply-To: <20260311152030.3108779-1-rhi@pengutronix.de>

From: Leonard Göhrs <l.goehrs@pengutronix.de>

The board is already supported upstream. TLV support is needed for the
board code to read the EEPROM version info.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
[rhi: ported from distrokit-fairytux; all of the original patches have
 meanwhile been merged in upstream projects. Also enable CMD_TLV for
 purposes of snooping around in the EEPROM, and the driver for the
 PCA953X GPIO extender as well, and run 'oldconfig' for barebox update]
Tested-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
* PATCH v2:
  - rebase to current next branch, resolve conflicts and run 'oldconfig'
    again, choosing defaults for new symbols (TLV_SIGNATURE)

* PATCH v1: https://lore.distrokit.org/distrokit/20260203173409.3995749-3-rhi@pengutronix.de
---
 configs/platform-v7a/barebox.config | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/configs/platform-v7a/barebox.config b/configs/platform-v7a/barebox.config
index a303bb0c1005..1f0d1f9008e3 100644
--- a/configs/platform-v7a/barebox.config
+++ b/configs/platform-v7a/barebox.config
@@ -204,7 +204,7 @@ CONFIG_MACH_STM32MP13XX_DK=y
 CONFIG_MACH_STM32MP15XX_DKX=y
 CONFIG_MACH_LXA_MC1=y
 # CONFIG_MACH_LXA_TAC is not set
-# CONFIG_MACH_LXA_FAIRYTUX2 is not set
+CONFIG_MACH_LXA_FAIRYTUX2=y
 # CONFIG_MACH_DHCOR_STM32MP1 is not set
 # CONFIG_MACH_SEEED_ODYSSEY is not set
 CONFIG_MACH_STM32MP15X_EV1=y
@@ -258,6 +258,7 @@ CONFIG_HAVE_EFI_STUB=y
 CONFIG_HAVE_EFI_LOADER=y
 CONFIG_HAS_DEBUG_LL=y
 CONFIG_HAVE_ARCH_KASAN=y
+CONFIG_BOARD_LXA=y
 CONFIG_CC_IS_GCC=y
 CONFIG_GCC_VERSION=150201
 CONFIG_CLANG_VERSION=0
@@ -400,7 +401,10 @@ CONFIG_HAS_SCHED=y
 CONFIG_POLLER=y
 CONFIG_POLLER_WARN_OVERTIME=y
 CONFIG_BTHREAD=y
-# CONFIG_TLV is not set
+CONFIG_TLV=y
+# CONFIG_TLV_SIGNATURE is not set
+CONFIG_TLV_DRV=y
+CONFIG_TLV_BAREBOX=y
 CONFIG_STATE=y
 # CONFIG_STATE_CRYPTO is not set
 # CONFIG_STATE_BACKWARD_COMPATIBLE is not set
@@ -686,6 +690,7 @@ CONFIG_CMD_TIME=y
 CONFIG_CMD_WATCH=y
 # CONFIG_CMD_UPTIME is not set
 CONFIG_CMD_STATE=y
+CONFIG_CMD_TLV=y
 # CONFIG_CMD_DHRYSTONE is not set
 # CONFIG_CMD_SPD_DECODE is not set
 # CONFIG_CMD_SEED is not set
@@ -1160,7 +1165,7 @@ CONFIG_GPIO_PINCONF=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
 CONFIG_GPIO_IMX=y
 CONFIG_GPIO_OMAP=y
-# CONFIG_GPIO_PCA953X is not set
+CONFIG_GPIO_PCA953X=y
 # CONFIG_GPIO_PCF857X is not set
 # CONFIG_GPIO_PL061 is not set
 CONFIG_GPIO_RASPBERRYPI_EXP=y
@@ -1531,6 +1536,7 @@ CONFIG_LODEPNG=y
 
 # CONFIG_BAREBOX_LOGO is not set
 CONFIG_PRINTF_UUID=y
+CONFIG_PRINTF_HEXSTR=y
 CONFIG_NLS=y
 CONFIG_IDR=y
 # end of Library routines
-- 
2.47.3




  parent reply	other threads:[~2026-03-11 15:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-11 15:19 [DistroKit] [PATCH v2 1/5] v7a: tf-a: version bump v2.12 -> v2.14 Roland Hieber
2026-03-11 15:19 ` [DistroKit] [PATCH v2 2/5] v7a: tf-a: enable support for LXA FairyTux 2 Roland Hieber
2026-03-11 15:19 ` Roland Hieber [this message]
2026-03-11 15:19 ` [DistroKit] [PATCH v2 4/5] v7a: add and enable image generation for the " Roland Hieber
2026-03-11 15:19 ` [DistroKit] [PATCH v2 5/5] doc: add FairyTux 2 documentation Roland Hieber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260311152030.3108779-3-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=l.goehrs@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox