Commit d1c3c002 authored by Adam Wujek's avatar Adam Wujek

softpll: make spll_debug not inline

Saves 64B
Signed-off-by: 's avatarAdam Wujek <adam.wujek@creotech.pl>
parent 2ce362cb
......@@ -148,3 +148,8 @@ void spll_enable_tagger(int channel, int enable)
pll_verbose("%s: ch %d, OCER 0x%x, RCER 0x%x\n", __FUNCTION__, channel, SPLL->OCER, SPLL->RCER);
}
void spll_debug(int what, int value, int last)
{
SPLL->DFR_SPLL =
(last ? 0x80000000 : 0) | (value & 0xffffff) | (what << 24);
}
......@@ -48,8 +48,4 @@ what: type of the parameter and its' source. For example,
last: when non-zero, indicates the last parameter in a sample.
*/
static inline void spll_debug(int what, int value, int last)
{
SPLL->DFR_SPLL =
(last ? 0x80000000 : 0) | (value & 0xffffff) | (what << 24);
}
void spll_debug(int what, int value, int last);
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