diff options
author | Ladislav Michl <Ladislav.Michl@seznam.cz> | 2010-02-08 14:15:15 -0500 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2010-03-07 12:36:34 -0600 |
commit | b29ff6277239f5c8bc9366e74afac5a36ab3b23e (patch) | |
tree | 7e71b53d853cdf4b432d9aaa6cc8e139dd4dc9e4 /board/bf537-stamp | |
parent | ef8d008730fb62fc81a792274eea40480593a7d3 (diff) | |
download | u-boot-imx-b29ff6277239f5c8bc9366e74afac5a36ab3b23e.zip u-boot-imx-b29ff6277239f5c8bc9366e74afac5a36ab3b23e.tar.gz u-boot-imx-b29ff6277239f5c8bc9366e74afac5a36ab3b23e.tar.bz2 |
NetStar: eeprom - undefined reference to `memset'
Defining partially initialized struct eth_device on stack means
gcc has to zero out it, and some gcc versions optimize this with
an implicit call to memset. Move definition to data section
to avoid that (it has also nice side effect that we need not
to pass it to helper functions anymore)
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/bf537-stamp')
0 files changed, 0 insertions, 0 deletions