summaryrefslogtreecommitdiff
path: root/src/flash/lpc288x.c
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-13 12:44:39 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-13 12:44:39 +0000
commit0cba0d4df3fe120f08945703506f8405760325c9 (patch)
treee5db80cbe83e58a1f1fb1be3d66a4730353f3842 /src/flash/lpc288x.c
parent846a2589a4161dc1e8e3730c9510a54381c26a5e (diff)
downloadopenocd+libswd-0cba0d4df3fe120f08945703506f8405760325c9.tar.gz
openocd+libswd-0cba0d4df3fe120f08945703506f8405760325c9.tar.bz2
openocd+libswd-0cba0d4df3fe120f08945703506f8405760325c9.tar.xz
openocd+libswd-0cba0d4df3fe120f08945703506f8405760325c9.zip
- remove target specific variant and use target->variant member
- fix build warning in cortex_m3 - code cleanup - remove trailing lf and convert c++ comments git-svn-id: svn://svn.berlios.de/openocd/trunk@1238 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/lpc288x.c')
-rw-r--r--src/flash/lpc288x.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/flash/lpc288x.c b/src/flash/lpc288x.c
index 8c438f8e..a0becf5b 100644
--- a/src/flash/lpc288x.c
+++ b/src/flash/lpc288x.c
@@ -126,7 +126,6 @@ flash_driver_t lpc288x_flash =
.info = lpc288x_info
};
-
int lpc288x_register_commands(struct command_context_s *cmd_ctx)
{
return ERROR_OK;
@@ -204,7 +203,7 @@ int lpc288x_read_part_info(struct flash_bank_s *bank)
int lpc288x_protect_check(struct flash_bank_s *bank)
{
- return ERROR_OK;
+ return ERROR_OK;
}
/* flash_bank LPC288x 0 0 0 0 <target#> <cclk> */