[PATCH 2/2] timer: Mark this as incompatible with SYS_ARCH_TIMER
Tom Rini
trini at konsulko.com
Thu Aug 14 18:40:21 CEST 2025
On Thu, Aug 14, 2025 at 07:26:47PM +0300, Marius Dinu wrote:
> On Wed, 2025-08-13 14.55.11 +-0600, Tom Rini wrote:
> > The timers implemented under SYS_ARCH_TIMER are not part of the TIMER
> > framework and thus cannot be enabled at the same time. Express this
> > dependency in Kconfig and add a note to the help of SYS_ARCH_TIMER.
> >
> > Reported-by: Marius Dinu <m95d+git at psihoexpert.ro>
> > Signed-off-by: Tom Rini <trini at konsulko.com>
> > ---
> > Marius, I ended up reworking things a bit (and also found part 1/2 of
> > this series) but please let me know if you feel this should retain your
> > Author and such instead. Thanks!
>
> No need for credits.
OK.
> I think you should keep the warning message in the Timer drivers menu.
> It provides a quick explanation why the menu is empty.
I thought about it, and we don't do anything like that for other
either/or choices, and it's now in the help text itself at least. The
other thing however, is that a few platforms do allow for both, because
they play some games with CFG_SYS_TIMER* defines. So I'm not entirely
sure what to do here.
> Bugs are reported in this mailing list too?
Yes.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250814/bc3c0e66/attachment.sig>
More information about the U-Boot
mailing list