Commit 6fdfd77f authored by Tomasz Wlostowski's avatar Tomasz Wlostowski Committed by Grzegorz Daniluk

check-error: disallow long divisions only on low-memory platforms (generic WRC)

parent ffb2935c
......@@ -66,4 +66,6 @@ int board_update(void);
#define HAS_ABSCAL 0
#endif
#define CONFIG_DISALLOW_LONG_DIVISION
#endif /* __BOARD_WRC_H */
......@@ -36,7 +36,7 @@ int mprintf(const char *fmt, ...)
return 0;
}
#ifdef CONFIG_PPSI /* with ppsi we can avoid libgcc code for division */
#ifdef CONFIG_DISALLOW_LONG_DIVISION /* with ppsi we can avoid libgcc code for division */
/* was used twice in picos_to_ts */
long long __moddi3 (long long A, long long B)
{
......@@ -57,4 +57,4 @@ long long __divdi3 (long long A, long long B)
__you_should_not_divide_ll_in_wrpc_sw();
return 0;
}
#endif /* config_ppsi */
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment