howto set the sdram clock frequency

Does someone can help me where and how to set the SDRAM clock
frequency?
My guess is in u-boots lowlevel_init.S - as there are some tables.
But I don't know where and how to calculate for SDRAM clock 120 ord
133 instead of 166MHz.