[U-Boot] [PATCH 1/3 v2] common: add possibility for readline_into_buffer timeout

Mike Frysinger vapier at gentoo.org
Sat Feb 18 00:18:06 CET 2012


On Friday 17 February 2012 16:33:32 Stephan Linz wrote:
> Hello Heiko,

please don't top post

> it seems there is a problem with this patch for some architectures. On
> Microblaze I run into linker errors:
> 
> common/libcommon.o: In function `cread_line':
> u-boot-bref/common/main.c:717: undefined reference to `get_ticks'
> u-boot-mbref/common/main.c:717: undefined reference to `get_tbclk'
> u-boot-mbref/common/main.c:720: undefined reference to `get_ticks'
> 
> AFAICS some architectures lacking these symbols. What is the default
> U-Boot design line here. Should we implement the missing symbols for
> Microblaze or can you introduce a CONFIG_ option to disable this new
> feature?

to keep your sanity, you should implement get_{ticks,tbclk}.  look at the 
Blackfin implementation ... i think you should be able to copy & paste those 
into your own.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120217/b1116077/attachment.pgp>


More information about the U-Boot mailing list