summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-08-25 20:26:55 +0000
committer(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-08-25 20:26:55 +0000
commit7ed1726e91620cd058590d4efbc2794041f748c6 (patch)
treeea27472a7b96d55c914a64dc1842a2d3ccce377b
parent00882453806de7b5e924d140c5918015d54e1a5c (diff)
- fix include path
- add __ramfunc prefix to put function in RAM rather than ROM git-svn-id: https://svn.openpcd.org:2342/trunk@135 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
-rw-r--r--openpcd/firmware/include/lib_AT91SAM7.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/openpcd/firmware/include/lib_AT91SAM7.h b/openpcd/firmware/include/lib_AT91SAM7.h
index f43aaec..63943e3 100644
--- a/openpcd/firmware/include/lib_AT91SAM7.h
+++ b/openpcd/firmware/include/lib_AT91SAM7.h
@@ -40,7 +40,7 @@
#ifndef lib_AT91SAM7S64_H
#define lib_AT91SAM7S64_H
-#include <include/AT91SAM7.h>
+#include <AT91SAM7.h>
/* *****************************************************************************
SOFTWARE API FOR AIC
@@ -3471,4 +3471,6 @@ static inline void AT91F_PWMC_CfgPMC (void)
((unsigned int) 1 << AT91C_ID_PWMC));
}
+#define __ramfunc __attribute__ ((long_call, section (".fastrun")))
+
#endif // lib_AT91SAM7S64_H
personal git repositories of Harald Welte. Your mileage may vary