
21 Jul
2008
21 Jul
'08
10:21 p.m.
Jean-Christophe PLAGNIOL-VILLARD wrote:
Maybe a macro will more clear like if(is_relacated()) i2c_bus_speed[0] = temp;
I'm just following the same pattern as other code. The code "if (gd->flags & GD_FLG_RELOC)" is used in a number of other places.
Someone else can create that macro and update all the U-Boot code to use it, if he wants.
--
Timur Tabi
Linux kernel developer at Freescale