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. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.