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 <pgeorgi@google.com>2011-03-08 07:17:44 +0000
commit97bc95ce2be4e17db150a83098673cedf5b50b40 (patch)
tree726389fc8d2e3875645d8a3774f9899c4009faf0 /udelay.c
parent7f517a710308133fd33f2fd9e10fa4e8c6a190e5 (diff)
downloadast2050-flashrom-97bc95ce2be4e17db150a83098673cedf5b50b40.zip
ast2050-flashrom-97bc95ce2be4e17db150a83098673cedf5b50b40.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 Corresponding to flashrom svn r1280. Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Tested-with-DOS-crosscompiler-by: Idwer Vollering <vidwer@gmail.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