summaryrefslogtreecommitdiff
path: root/include/asm-avr32/sections.h
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-04-29 12:53:05 +0200
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-05-27 15:27:29 +0200
commit781eb9a1e4af4bd34c138e6126ec5cc6dd4b5440 (patch)
treec1f48ea5a6ac83fb8372839e45c4c1c7018185e4 /include/asm-avr32/sections.h
parentcdd42c0c7a5205fc380912d83229069a71ea3abf (diff)
downloadu-boot-imx-781eb9a1e4af4bd34c138e6126ec5cc6dd4b5440.zip
u-boot-imx-781eb9a1e4af4bd34c138e6126ec5cc6dd4b5440.tar.gz
u-boot-imx-781eb9a1e4af4bd34c138e6126ec5cc6dd4b5440.tar.bz2
avr32: Get rid of the .flashprog section
The .flashprog section was only needed back when we were running directly from flash, and it's even more useless on NGW100 since it uses the CFI flash driver which never used this workaround in the first place. Remove it on STK1000 as well, and get rid of all the associated code and annotations. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32/sections.h')
-rw-r--r--include/asm-avr32/sections.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-avr32/sections.h b/include/asm-avr32/sections.h
index 75373ab..fe819b2 100644
--- a/include/asm-avr32/sections.h
+++ b/include/asm-avr32/sections.h
@@ -25,15 +25,8 @@
/* References to section boundaries */
extern char _text[], _etext[];
-extern char __flashprog_start[], __flashprog_end[];
extern char _data[], __data_lma[], _edata[], __edata_lma[];
extern char __got_start[], __got_lma[], __got_end[];
extern char _end[];
-/*
- * Everything in .flashprog will be locked in the icache so it doesn't
- * get disturbed when executing flash commands.
- */
-#define __flashprog __attribute__((section(".flashprog"), __noinline__))
-
#endif /* __ASM_AVR32_SECTIONS_H */