Message ID | 20220310184549.1883-2-krjdev@gmail.com |
---|---|
State | Deferred |
Delegated to: | Tom Rini |
Headers | show |
Series | CONFIG_EARLY_TIMER: Fix EAGAIN issue and use DM too | expand |
Hi, Ignore these patches. Have send them to the wrong maintainers... There are also somm issues. Thanks! On 10.03.22 19:45, Johannes Krottmayer wrote: > Description: > > When CONFIG_TIMER_EARLY is selected and the timer driver implements > timer_early_get_count() and timer_early_get_rate() this leads to > an EAGAIN error in initf_dm() one some configurations. > > Signed-off-by: Johannes Krottmayer <krjdev@gmail.com> > Cc: Tom Rini <trini@konsulko.com> > --- > common/board_f.c | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/common/board_f.c b/common/board_f.c > index a68760092a..fc883c1742 100644 > --- a/common/board_f.c > +++ b/common/board_f.c > @@ -785,12 +785,6 @@ static int initf_dm(void) > bootstage_accum(BOOTSTAGE_ID_ACCUM_DM_F); > if (ret) > return ret; > - > - if (IS_ENABLED(CONFIG_TIMER_EARLY)) { > - ret = dm_timer_init(); > - if (ret) > - return ret; > - } > #endif > > return 0;
diff --git a/common/board_f.c b/common/board_f.c index a68760092a..fc883c1742 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -785,12 +785,6 @@ static int initf_dm(void) bootstage_accum(BOOTSTAGE_ID_ACCUM_DM_F); if (ret) return ret; - - if (IS_ENABLED(CONFIG_TIMER_EARLY)) { - ret = dm_timer_init(); - if (ret) - return ret; - } #endif return 0;
Description: When CONFIG_TIMER_EARLY is selected and the timer driver implements timer_early_get_count() and timer_early_get_rate() this leads to an EAGAIN error in initf_dm() one some configurations. Signed-off-by: Johannes Krottmayer <krjdev@gmail.com> Cc: Tom Rini <trini@konsulko.com> --- common/board_f.c | 6 ------ 1 file changed, 6 deletions(-)