[U-Boot] What is the difference between /lib and /common

Graeme Russ graeme.russ at gmail.com
Sat May 28 12:51:46 CEST 2011


Hi Wolfgang,

A quick question for you - What defines what belongs in /lib versus /common?

I get that cmd* and env* belong in /common (U-Boot specific) and crc, zlib,
gunzip, qsort etc belong in /lib (generic)

But others are a bit grey like malloc in /common and display_options() in /lib

The reason I ask is to know where to put the new timer API - I'm thinking
/lib/time.c with udelay() makes the most sense

Regards,

Graeme



More information about the U-Boot mailing list