summaryrefslogtreecommitdiffstats
path: root/udelay.c
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-03-08 07:17:44 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2011-03-08 07:17:44 +0000
commitd9b2044f9981b420119032717ca39cd5ef572781 (patch)
tree726389fc8d2e3875645d8a3774f9899c4009faf0 /udelay.c
parent2fdef8e551b6c1c3f9b82372a497ba7f3240c097 (diff)
downloadflashrom-d9b2044f9981b420119032717ca39cd5ef572781.zip
flashrom-d9b2044f9981b420119032717ca39cd5ef572781.tar.gz
Fix and improve libpayload platform support
- Fix various minor compile issues (eg. include necessary standard headers) - Fix compilation of libpayload code paths - Provide libpayload support in Makefile - Add make target "libflashrom.a" which links non-CLI code to static library Tested-with-DOS-crosscompiler-by: Idwer Vollering <vidwer@gmail.com> Corresponding to flashrom svn r1280. Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'udelay.c')
-rw-r--r--udelay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udelay.c b/udelay.c
index feae827..5faa004 100644
--- a/udelay.c
+++ b/udelay.c
@@ -182,6 +182,7 @@ void internal_delay(int usecs)
}
#else
+#include <libpayload.h>
void myusec_calibrate_delay(void)
{
OpenPOWER on IntegriCloud