diff --git a/src/target/target/at91eb40a.cfg b/src/target/target/at91eb40a.cfg
index 42ce2f3fca8bd23930080152ce3e4a07d1fbb2a1..60153be9615a65c71591265c1db3d9fbe2123d16 100644
--- a/src/target/target/at91eb40a.cfg
+++ b/src/target/target/at91eb40a.cfg
@@ -25,16 +25,11 @@ flash bank ecosflash 0x01000000 0x200000 2 2 0 ecos/at91eb40a.elf
 
 # required for usable performance. Used for lots of
 # other things than flash programming.
-working_area 0 0x00000000 0x20000 nobackup
+working_area 0 0x00030000 0x10000 nobackup
 
 
-
-global reset_count
-set reset_count 0
-
 [new_target_name] configure -event reset-init {
 	puts "Running reset init script for AT91EB40A"
-	global reset_count
 	# Reset script for AT91EB40a
 	reg cpsr 0x000000D3
 	mww 0xFFE00020 0x1
@@ -43,13 +38,4 @@ set reset_count 0
 	mww 0xFFFFF124 0xFFFFFFFF  
 	mww 0xffff0010 0x100
 	mww 0xffff0034 0x100
-	set reset_count [expr $reset_count+1]
-	echo "Testing reset $reset_count !"
-	
-}
-
-[new_target_name] configure -event reset-start {
-	global reset_count
-	set reset_count [expr $reset_count+1]
-	echo "Testing pre_reset $reset_count !"
 }