
26 Mar
2014
26 Mar
'14
9:23 a.m.
On Mon, 2014-03-24 at 23:42 +0100, Olliver Schinagl wrote: [...]
I've got a local cleanup patch set where I fixed this already to clrsetbits_le32 [...] Same here, got that in my local tree too
Could you post what you've got please?
+#ifdef CONFIG_SPL_BUILD +#define PLL1_CFG(N, K, M, P) (1 << 31 | 0 << 30 | 8 << 26 | 0 << 25 |
\
16 << 20 | (P) << 16 | 2 << 13 | (N) << 8 | \
(K) << 4 | 0 << 3 | 0 << 2 | (M) << 0)
Here is well.
dito :)
+#define RDIV(a, b) ((a + (b) - 1) / (b))
This is some kind of DIV_ROUND_UP() from include/common.h ?
[...]
That one i didn't have;
Ian, I guess you can verify that generic macro works for here?
Yeah, I'll look into that and all the other feedback from Marek.
Ian.