Compare commits

..

No commits in common. "191a5ebccf3476b59f86da1890d444741449d449" and "ff17b8c22c70d433f6839d53e6738009fed82eee" have entirely different histories.

2 changed files with 0 additions and 5 deletions

View file

@ -35,7 +35,6 @@ typedef struct
int Bphi_div;
int Iphi_div;
int Pphi_div;
int Sphi_div;
union {
int CKIO_f;
@ -45,7 +44,6 @@ typedef struct
int Bphi_f;
int Iphi_f;
int Pphi_f;
int Sphi_f;
} clock_frequency_t;

View file

@ -84,12 +84,10 @@ static void sh7305_probe(void)
int divb = CPG.FRQCR.BFC;
int divi = CPG.FRQCR.IFC;
int divp = CPG.FRQCR.P1FC;
int divs = CPG.FRQCR.SFC;
freq.Bphi_div = 1 << (divb + 1);
freq.Iphi_div = 1 << (divi + 1);
freq.Pphi_div = 1 << (divp + 1);
freq.Sphi_div = 1 << (divs + 1);
/* Deduce the input frequency of divider 1 */
int base = 32768;
@ -101,7 +99,6 @@ static void sh7305_probe(void)
freq.Bphi_f = base >> (divb + 1);
freq.Iphi_f = base >> (divi + 1);
freq.Pphi_f = base >> (divp + 1);
freq.Sphi_f = base >> (divs + 1);
}
#undef CPG