]> git.dujemihanovic.xyz Git - u-boot.git/commit
mpc83xx: Fix the UEC driver bug of QE
authorDave Liu <r63238@freescale.com>
Wed, 6 Dec 2006 03:38:17 +0000 (11:38 +0800)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 2 Mar 2007 17:05:52 +0000 (11:05 -0600)
commitddd02492f43db5408f5ab9f823b0ba5796e28ef0
tree8848d4c2395e267fa7521e362c1dced36c6d0c8b
parentfdd1d6dcc97c595bd9d598ed3b22a7038781272c
mpc83xx: Fix the UEC driver bug of QE

The patch prevents the GCC tool chain from striping useful code for
optimization. It will make UEC ethernet driver workable, Otherwise the
UEC will fail in tx when you are using gcc4.x. but the driver can work
when using gcc3.4.3.

CHANGELOG

*Prevent the GCC from striping code for optimization, Otherwise the UEC
will tx failed when you are using gcc4.x.

Signed-off-by: Dave Liu <daveliu@freescale.com>
drivers/qe/uec.c