summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:13 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:13 +0200
commit162484b83c392eeef33de2eb8111fcbe7f1e1e14 (patch)
treed803c4357400b05ff89cb5e25920cd359d0baa94 /tools
parent13a0908f07be07b58df8f312acf92a58047383a6 (diff)
downloadbarebox-162484b83c392eeef33de2eb8111fcbe7f1e1e14.tar.gz
barebox-162484b83c392eeef33de2eb8111fcbe7f1e1e14.tar.xz
svn_rev_003
remove all #if 0 and #if 1
Diffstat (limited to 'tools')
-rw-r--r--tools/gdb/remote.c12
-rw-r--r--tools/updater/flash_hw.c9
2 files changed, 0 insertions, 21 deletions
diff --git a/tools/gdb/remote.c b/tools/gdb/remote.c
index f40b6c6386..5df0055ade 100644
--- a/tools/gdb/remote.c
+++ b/tools/gdb/remote.c
@@ -741,18 +741,6 @@ putpkt_binary (buf, cnt)
break; /* Here to retransmit */
}
-#if 0
- /* This is wrong. If doing a long backtrace, the user should be
- able to get out next time we call QUIT, without anything as
- violent as interrupt_query. If we want to provide a way out of
- here without getting to the next QUIT, it should be based on
- hitting ^C twice as in remote_wait. */
- if (quit_flag)
- {
- quit_flag = 0;
- interrupt_query ();
- }
-#endif
}
}
diff --git a/tools/updater/flash_hw.c b/tools/updater/flash_hw.c
index 2d9b8c8802..fbfb56882d 100644
--- a/tools/updater/flash_hw.c
+++ b/tools/updater/flash_hw.c
@@ -254,15 +254,6 @@ static ulong flash_get_size (ulong addr, flash_info_t *info)
info->size = 0x00800000;
break; /* => 8 MB */
-#if 0
- /* Has the same ID as AMD_ID_LV320T, to be fixed */
- case AMD_ID_LV320B:
- DEBUGF("Am29LV320B\n");
- info->flash_id += FLASH_AM320B;
- info->sector_count = 67;
- info->size = 0x00800000;
- break; /* => 8 MB */
-#endif
case AMD_ID_LV033C:
DEBUGF("Am29LV033C\n");