Skip to contentSkip to conversation

PATCH: mpc85xx set lcb clock (CONFIG_CCB_CLCKDIV)

U-Boot-Users New John Ogness 2 participants 4 messages Jul 4, 2008 – Jul 11, 2008

lore
Share & tools
lore
#3 lore raw

PATCH 1/1 V3: mpc85xx set CCB:LBC ratio (CONFIG_LBC_CLOCK_RATIO)

Quoted 4 lines · John Ogness

I've changed the patch so that it is less intrusive. It now simply adds the new function to the "init_sequence" if defined.

Could you please send your patches inline next time to simplify reviewing? Thanks.

I have a general remark here. Currently, various 85xx boards setup the local bus in the board specific code called from checkboard(). Your set_lbc_clock_ratio() would be called earlier and is therefore unusable for these board. Nevertheless, the setting of the clock rate is just one thing to be done to setup the local bus properly but there are more including bug fixes. I would appreciate a generic function for that purpose to get rid of duplicated code.

Wolfgang.