[U-Boot] [U-Boot,1/2] e1000: Implement dcache support

Vasili Galka
2014-08-26T10:38:44Z

Hi Marek,

On Fri, Aug 8, 2014 at 5:41 PM, Tim Harvey <tharvey@gateworks.com> wrote:
> From: Marek Vasut <marex@denx.de>
>
> Implement proper support for cache flushing and invalidation into the
> Intel e1000 NIC driver.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Acked-by: Tim Harvey <tharvey@gateworks.com>
> ---
> drivers/net/e1000.c | 71
> ++++++++++++++++++++++++++++++++++++-----------------
> 1 file changed, 49 insertions(+), 22 deletions(-)

After your patch (http://patchwork.ozlabs.org/patch/378226/) was
applied to u-boot/master, the MVBC_P board fails to build with
the following errors:

drivers/net/built-in.o: In function `e1000_transmit':
/home/lab/dev/u-boot/drivers/net/e1000.c:5175: undefined reference to
`flush_dcache_range'
/home/lab/dev/u-boot/drivers/net/e1000.c:5180: undefined reference to
`flush_dcache_range'
/home/lab/dev/u-boot/drivers/net/e1000.c:5186: undefined reference to
`invalidate_dcache_range'
drivers/net/built-in.o: In function `fill_rx':
/home/lab/dev/u-boot/drivers/net/e1000.c:4935: undefined reference to
`invalidate_dcache_range'
/home/lab/dev/u-boot/drivers/net/e1000.c:4939: undefined reference to
`flush_dcache_range'
drivers/net/built-in.o: In function `e1000_poll':
/home/lab/dev/u-boot/drivers/net/e1000.c:5142: undefined reference to
`invalidate_dcache_range'
/home/lab/dev/u-boot/drivers/net/e1000.c:5149: undefined reference to
`invalidate_dcache_range'
make[1]: *** [u-boot] Error 1
make: *** [sub-make] Error 2

Best,
Vasili