Move ICS CLK chip frequency calculation code into a common board library