[RFC PATCH 1/8] cmd/cyclic: Use div64 macros for division and remainder
Simon Glass
sjg at chromium.org
Tue Aug 30 04:31:33 CEST 2022
On Mon, 29 Aug 2022 at 00:23, Stefan Roese <sr at denx.de> wrote:
>
> Use the do_div etc for divisions to fix the compile breakage seen on
> edison:
>
> cmd/cyclic.c:70: undefined reference to `__udivmoddi4'
>
> and for e.g. MIPS netgear_cg3100d_ram:
>
> cmd/cyclic.c:(.text.do_cyclic_list+0x180): undefined reference to `__umoddi3'
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
> cmd/cyclic.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list