[U-Boot-Users] [PATCH U-Boot-v2] at91sam9260ek: fix names

Robert Schwebel r.schwebel at pengutronix.de
Tue Jul 29 18:02:41 CEST 2008


On Tue, Jul 29, 2008 at 05:53:37PM +0200, Robert Schwebel wrote:
> Fix some left-overs from copy and paste.

However, the board still fails to build, looks like you've forgotten to
change in some of the Pengutronix TechWeek stuff:

rsc at thebe:u-boot-v2$ make ARCH=arm CROSS_COMPILE=/opt/OSELAS.Toolchain-1.1.1/arm-v4t-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/bin/arm-v4t-linux-gnueabi-
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CC      drivers/net/macb.o
In file included from drivers/net/macb.c:48:
include/asm/arch/clk.h: In function 'get_macb_pclk_rate':
include/asm/arch/clk.h:31: error: 'AT91_MASTER_CLOCK' undeclared (first use in this function)
include/asm/arch/clk.h:31: error: (Each undeclared identifier is reported only once
include/asm/arch/clk.h:31: error: for each function it appears in.)
include/asm/arch/clk.h: In function 'get_usart_clk_rate':
include/asm/arch/clk.h:36: error: 'AT91_MASTER_CLOCK' undeclared (first use in this function)
make[2]: *** [drivers/net/macb.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
rsc at thebe:u-boot-v2$

rsc
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9





More information about the U-Boot mailing list