From 48b70deff51f8a4dcc7011bc8a73e02f9fe987de Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 8 Jan 2012 11:54:35 +0100 Subject: make sure FLASHD_ReadUniqueID() is linked to SRAM, not flash --- memories/flash/flashd_eefc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'memories') 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; -- cgit v1.2.3