mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] arm: socfpga: agilex5: remove custom GPIO toggle
@ 2026-10-07 14:57 Michael Tretter
  2026-10-07 14:57 ` [PATCH 1/2] arm: socfpga: agilex5: select GPIOLIB Michael Tretter
  2026-10-07 14:57 ` [PATCH 2/2] arm: socfpga: axe5-eagle: drop hard-coded PHY reset in board code Michael Tretter
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Tretter @ 2026-10-07 14:57 UTC (permalink / raw)
  To: Sascha Hauer, BAREBOX; +Cc: Michael Tretter

The Arrow AXE5 Eagle board has some custom code for toggling the reset
of the Ethernet phy, because barebox is built without GPIOLIB for binary
size reasons. These limits are not clearly defined, not reliably
reproducible and not enforced.

With xloading of the SSBL, the GPIOLIB doesn't have an effect on the
FSBL size anymore. Otherwise, disabling a few drivers is probably more
significant than disabling the GPIOLIB.

Therefore, enable GPIOLIB for the Agilex 5, and get rid of the custom
code to toggle the GPIO for resetting the Ethernet phy.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
Michael Tretter (2):
      arm: socfpga: agilex5: select GPIOLIB
      arm: socfpga: axe5-eagle: drop hard-coded PHY reset in board code

 arch/arm/boards/arrow-axe5-eagle/board.c | 24 ------------------------
 arch/arm/mach-socfpga/Kconfig            |  1 +
 2 files changed, 1 insertion(+), 24 deletions(-)
---
base-commit: 70421fc4591e6b4b9c7172ca72b60ef1868ecc5c
change-id: 20261007-socfpga-agilex5-gpiolib-a3a32b295925

Best regards,
-- 
Michael Tretter <m.tretter@pengutronix.de>




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

end of thread, other threads:[~2026-10-07 14:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 14:57 [PATCH 0/2] arm: socfpga: agilex5: remove custom GPIO toggle Michael Tretter
2026-10-07 14:57 ` [PATCH 1/2] arm: socfpga: agilex5: select GPIOLIB Michael Tretter
2026-10-07 14:57 ` [PATCH 2/2] arm: socfpga: axe5-eagle: drop hard-coded PHY reset in board code Michael Tretter

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