diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-01-08 11:54:35 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-01-08 11:54:35 +0100 |
commit | 48b70deff51f8a4dcc7011bc8a73e02f9fe987de (patch) | |
tree | 68edf9f5d63e61ccc972648d5b22b71452b92e85 /memories | |
parent | fbea2413f6c3cf935ded2466ce27029575b7d1d4 (diff) |
make sure FLASHD_ReadUniqueID() is linked to SRAM, not flash
Diffstat (limited to 'memories')
-rw-r--r-- | memories/flash/flashd_eefc.c | 1 |
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;
|