[U-Boot-Users] [PATCH] fsl-i2c: fix writes to data segment before relocation

Timur Tabi timur at freescale.com
Mon Jul 21 22:21:11 CEST 2008


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




More information about the U-Boot mailing list