[PATCH] fixup! of: partition: do not try to translate offset as OF address
Sascha Hauer
s.hauer at pengutronix.de
Tue Jun 10 08:01:30 PDT 2025
On Tue, 10 Jun 2025 14:19:10 +0200, Ahmad Fatoum wrote:
> base: resource: fix build with OF support disabled
>
> With OF disabled, we end up with of_add_child_device defined twice.
> Move the definition into of/platform.c to fix this. This is the better
> place anyway, because it allocates a platform device.
>
> For some reason, we compile of/platform.c even for CONFIG_OFDEVICE disabled,
> but CONFIG_OFTREE enabled, so we need to tweak the #ifdef accordingly.
>
> [...]
Applied, thanks!
[1/1] fixup! of: partition: do not try to translate offset as OF address
https://git.pengutronix.de/cgit/barebox/commit/?id=109c81f143b4 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list