summaryrefslogtreecommitdiff
path: root/memories
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-01-08 11:54:35 +0100
committerHarald Welte <laforge@gnumonks.org>2012-01-08 11:54:35 +0100
commit48b70deff51f8a4dcc7011bc8a73e02f9fe987de (patch)
tree68edf9f5d63e61ccc972648d5b22b71452b92e85 /memories
parentfbea2413f6c3cf935ded2466ce27029575b7d1d4 (diff)
make sure FLASHD_ReadUniqueID() is linked to SRAM, not flash
Diffstat (limited to 'memories')
-rw-r--r--memories/flash/flashd_eefc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/memories/flash/flashd_eefc.c b/memories/flash/flashd_eefc.c
index 94fea3c..45b9038 100644
--- a/memories/flash/flashd_eefc.c
+++ b/memories/flash/flashd_eefc.c
@@ -468,6 +468,7 @@ unsigned char FLASHD_ClearGPNVM(unsigned char gpnvm)
/// \param uniqueID pointer on a 4bytes char containing the unique ID value.
//------------------------------------------------------------------------------
#ifdef AT91C_EFC_FCMD_STUI
+__attribute__ ((section (".ramfunc")))
unsigned char FLASHD_ReadUniqueID (unsigned long * uniqueID)
{
unsigned char error;
personal git repositories of Harald Welte. Your mileage may vary