This is an automated email from Gerrit. Matt Dittrich ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/1127
-- gerrit commit cc91ccaa8a0dda827eb7f9605f3b5358aa7841c8 Author: Matt Dittrich <[email protected]> Date: Wed Jan 30 18:32:14 2013 -0600 fix formatting Change-Id: I6c08ada079414037273fc8be30b15125508d36e7 Signed-off-by: Matt Dittrich <[email protected]> diff --git a/src/flash/nor/lpc2000.c b/src/flash/nor/lpc2000.c index 8c7d0d6..3dc3d78 100644 --- a/src/flash/nor/lpc2000.c +++ b/src/flash/nor/lpc2000.c @@ -582,11 +582,10 @@ static int lpc2000_erase(struct flash_bank *bank, int first, int last) param_table[0] = first; param_table[1] = last; - if (lpc2000_info->variant == lpc4300) { + if (lpc2000_info->variant == lpc4300) param_table[2] = lpc2000_info->lpc4300_bank; - } else { + else param_table[2] = lpc2000_info->cclk; - } uint32_t result_table[4]; struct working_area *iap_working_area; @@ -739,11 +738,10 @@ static int lpc2000_write(struct flash_bank *bank, uint8_t *buffer, uint32_t offs param_table[0] = first_sector; param_table[1] = last_sector; - if (lpc2000_info->variant == lpc4300) { + if (lpc2000_info->variant == lpc4300) param_table[2] = lpc2000_info->lpc4300_bank; - } else { + else param_table[2] = lpc2000_info->cclk; - } int status_code = lpc2000_iap_call(bank, iap_working_area, 50, param_table, result_table); switch (status_code) { -- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
