Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | string: Fix (v)asprintf prototypes | Sascha Hauer | 2016-04-15 | 1 | -1/+1 |
| | | | | | | | | | | Our asprintf and vasprintf have different prototypes than the glibc functions. This causes trouble when we want to share barebox code with userspace code. Change the prototypes for (v)asprintf to match the glibc prototypes. Since the current (v)asprintf are convenient to use change the existing functions to b(v)asprintf. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | w1: introduce helper to generate mac address from 1-wire id | Jean-Christophe PLAGNIOL-VILLARD | 2012-11-15 | 1 | -0/+65 |
use the first 3 byte of the id of a 1-wire or 6 if no OUI provided device to provide an Ethernet address Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |