From: OpenOCD-Gerrit <ope...@us...> - 2020-07-26 19:15:36
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 02ecd452c219a98b9da910b97755c5a326ab4cad (commit) via 29a899f3d27f6a18819a6f26c6e3d2c6e2d684c3 (commit) from 4c8753a83c96d8911140b28d893d9f9c0424dd97 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 02ecd452c219a98b9da910b97755c5a326ab4cad Author: Antonio Borneo <bor...@gm...> Date: Mon Jul 13 00:37:17 2020 +0200 flash: fix minor typo s/fifo's/fifos/ Change-Id: I21feee50377b13cd0d48749c19abb12d499fe199 Signed-off-by: Antonio Borneo <bor...@gm...> Reviewed-on: http://openocd.zylin.com/5769 Tested-by: jenkins diff --git a/src/flash/nor/mrvlqspi.c b/src/flash/nor/mrvlqspi.c index f21cc6ff0..3293e6129 100644 --- a/src/flash/nor/mrvlqspi.c +++ b/src/flash/nor/mrvlqspi.c @@ -328,7 +328,7 @@ static int mrvlqspi_flash_busy_status(struct flash_bank *bank, int timeout) uint8_t val; int retval; - /* Flush read/write fifo's */ + /* Flush read/write fifos */ retval = mrvlqspi_fifo_flush(bank, FIFO_FLUSH_TIMEOUT); if (retval != ERROR_OK) return retval; @@ -379,7 +379,7 @@ static int mrvlqspi_set_write_status(struct flash_bank *bank, bool mode) int retval; uint32_t instr; - /* Flush read/write fifo's */ + /* Flush read/write fifos */ retval = mrvlqspi_fifo_flush(bank, FIFO_FLUSH_TIMEOUT); if (retval != ERROR_OK) return retval; @@ -417,7 +417,7 @@ static int mrvlqspi_read_id(struct flash_bank *bank, uint32_t *id) LOG_DEBUG("Getting ID"); - /* Flush read/write fifo's */ + /* Flush read/write fifos */ retval = mrvlqspi_fifo_flush(bank, FIFO_FLUSH_TIMEOUT); if (retval != ERROR_OK) return retval; @@ -779,7 +779,7 @@ int mrvlqspi_flash_read(struct flash_bank *bank, uint8_t *buffer, return ERROR_FLASH_BANK_NOT_PROBED; } - /* Flush read/write fifo's */ + /* Flush read/write fifos */ retval = mrvlqspi_fifo_flush(bank, FIFO_FLUSH_TIMEOUT); if (retval != ERROR_OK) return retval; commit 29a899f3d27f6a18819a6f26c6e3d2c6e2d684c3 Author: Antonio Borneo <bor...@gm...> Date: Mon Jul 13 00:32:49 2020 +0200 contrib: fix minor typos While there, replace s/return(0)/return 0/ that causes checkpatch to fail. Change-Id: I5ad54cffca629475563c471114a9f77301a9e4f8 Signed-off-by: Antonio Borneo <bor...@gm...> Reviewed-on: http://openocd.zylin.com/5768 Tested-by: jenkins diff --git a/contrib/coresight-trace.txt b/contrib/coresight-trace.txt index c093c205a..517119b6f 100644 --- a/contrib/coresight-trace.txt +++ b/contrib/coresight-trace.txt @@ -62,7 +62,7 @@ Clearly some of that data would be valuable for interactive debugging. +In any case, OpenOCD is not currently GUI-oriented. Accordingly, we now +expect any such graphics to come from postprocessing. - measurments for RTOS event timings should also be easy to collect. + measurements for RTOS event timings should also be easy to collect. +Examples include context and message switch times, as well as times for application interactions. + diff --git a/contrib/cross-build.sh b/contrib/cross-build.sh index 74ab0f4f5..d508bed47 100755 --- a/contrib/cross-build.sh +++ b/contrib/cross-build.sh @@ -16,7 +16,7 @@ # This script is probably more useful as a reference than as a complete build # tool but for some configurations it may be usable as-is. It only cross- # builds libusb-1.0 from source, but the script can be extended to build other -# prerequisities in a similar manner. +# prerequisites in a similar manner. # # Usage: # export LIBUSB1_SRC=/path/to/libusb-1.0 diff --git a/contrib/itmdump.c b/contrib/itmdump.c index 896389416..24aa34f32 100644 --- a/contrib/itmdump.c +++ b/contrib/itmdump.c @@ -325,7 +325,7 @@ static void show_timestamp(FILE *f, int c) delayed = true; break; case 0xf: - label = ", packet and timetamp delayed"; + label = ", packet and timestamp delayed"; delayed = true; break; } diff --git a/contrib/loaders/flash/at91sam7x/crt.s b/contrib/loaders/flash/at91sam7x/crt.s index 2e434bbe7..94ed66d73 100644 --- a/contrib/loaders/flash/at91sam7x/crt.s +++ b/contrib/loaders/flash/at91sam7x/crt.s @@ -46,7 +46,7 @@ ARM_MODE_SVC = 0x13 /* Supervisor Interrupts Mode */ ARM_MODE_ABORT = 0x17 /* Abort Processing memory Faults Mode */ ARM_MODE_UNDEF = 0x1B /* Undefined Instructions Mode */ - ARM_MODE_SYS = 0x1F /* System Running in Priviledged Operating Mode */ + ARM_MODE_SYS = 0x1F /* System Running in Privileged Operating Mode */ ARM_MODE_MASK = 0x1F I_BIT = 0x80 /* disable IRQ when I bit is set */ diff --git a/contrib/loaders/flash/at91sam7x/dcc.c b/contrib/loaders/flash/at91sam7x/dcc.c index 04a7f7a4d..a5c32e7e6 100644 --- a/contrib/loaders/flash/at91sam7x/dcc.c +++ b/contrib/loaders/flash/at91sam7x/dcc.c @@ -39,7 +39,7 @@ int dcc_wr(uint32 data) do { asm volatile ("mrc p14, 0, %0, C0, C0" : "=r" (dcc_reg) :); - /* operation controled by master, cancel operation + /* operation controlled by master, cancel operation upon reception of data for immediate response */ if (dcc_reg&1) return -1; } while (dcc_reg&2); diff --git a/contrib/loaders/flash/at91sam7x/main.c b/contrib/loaders/flash/at91sam7x/main.c index 831e03f14..47c944082 100644 --- a/contrib/loaders/flash/at91sam7x/main.c +++ b/contrib/loaders/flash/at91sam7x/main.c @@ -101,5 +101,5 @@ int main (void) } } - return(0); /* we shall never get here, just to supress compiler warning */ + return 0; /* we shall never get here, just to suppress compiler warning */ } diff --git a/contrib/loaders/flash/at91sam7x/ocl.h b/contrib/loaders/flash/at91sam7x/ocl.h index ef30c33f4..bd8a5f7a0 100644 --- a/contrib/loaders/flash/at91sam7x/ocl.h +++ b/contrib/loaders/flash/at91sam7x/ocl.h @@ -21,7 +21,7 @@ /* command/response mask */ #define OCL_CMD_MASK 0xFFFF0000L -/* commads */ +/* commands */ #define OCL_FLASH_BLOCK 0x0CFB0000L #define OCL_ERASE_BLOCK 0x0CEB0000L #define OCL_ERASE_ALL 0x0CEA0000L diff --git a/contrib/loaders/flash/cc26xx/flash.h b/contrib/loaders/flash/cc26xx/flash.h index ec1c24fc5..dd0a3745a 100644 --- a/contrib/loaders/flash/cc26xx/flash.h +++ b/contrib/loaders/flash/cc26xx/flash.h @@ -108,7 +108,7 @@ extern "C" /****************************************************************************** * -* Define for the clock frequencey input to the flash module in number of MHz +* Define for the clock frequency input to the flash module in number of MHz * ******************************************************************************/ #define FLASH_MODULE_CLK_FREQ 48 @@ -279,7 +279,7 @@ static inline uint32_t flash_check_fsm_for_ready(void) * This function will erase the specified flash sector. The function will * not return until the flash sector has been erased or an error condition * occurred. If flash top sector is erased the function will program the -* the device security data bytes with default values. The device security +* device security data bytes with default values. The device security * data located in the customer configuration area of the flash top sector, * must have valid values at all times. These values affect the configuration * of the device during boot. @@ -305,7 +305,7 @@ extern uint32_t flash_sector_erase(uint32_t sector_address); * * This function will erase all unprotected flash sectors. The function will * not return until the flash sectors has been erased or an error condition -* occurred. Since the flash top sector is erased the function will program the +* occurred. Since the flash top sector is erased the function will program * the device security data bytes with default values. The device security * data located in the customer configuration area of the flash top sector, * must have valid values at all times. These values affect the configuration diff --git a/contrib/loaders/flash/cc26xx/startup.c b/contrib/loaders/flash/cc26xx/startup.c index 70fd83650..53d8ea8c7 100644 --- a/contrib/loaders/flash/cc26xx/startup.c +++ b/contrib/loaders/flash/cc26xx/startup.c @@ -52,7 +52,7 @@ const uint32_t stack_pntr = (uint32_t)stack + sizeof(stack); /****************************************************************************** * -* The following are constructs created by the linker indicating where the +* The following are constructs created by the linker indicating where * the "bss" and "ebss" segments reside in memory. * ******************************************************************************/ diff --git a/contrib/loaders/flash/mrvlqspi_write.S b/contrib/loaders/flash/mrvlqspi_write.S index 064192c9c..e1088e38d 100644 --- a/contrib/loaders/flash/mrvlqspi_write.S +++ b/contrib/loaders/flash/mrvlqspi_write.S @@ -81,7 +81,7 @@ find_next_page_boundary: /* If we have not reached the next page boundary after the target address, keep going */ bls find_next_page_boundary write_enable: - /* Flush read/write fifo's */ + /* Flush read/write fifos */ bl flush_fifo /* Instruction byte 1 */ @@ -134,7 +134,7 @@ write_wait: bl stop_tx /* Otherwise, end the command and keep going w/ the next page */ add r10, r4 /* Move up the end-of-page address by the page size*/ check_flash_busy: /* Wait for the flash to finish the previous page write */ - /* Flush read/write fifo's */ + /* Flush read/write fifos */ bl flush_fifo /* Instruction byte 1 */ movs r8, #0x1 diff --git a/contrib/loaders/flash/msp432/driverlib.c b/contrib/loaders/flash/msp432/driverlib.c index a4f541619..ac6dfd454 100644 --- a/contrib/loaders/flash/msp432/driverlib.c +++ b/contrib/loaders/flash/msp432/driverlib.c @@ -367,7 +367,7 @@ bool pcm_shutdown_device(uint32_t shutdown_mode) uint32_t shutdown_mode_bits = (shutdown_mode == PCM_LPM45) ? PCM_CTL0_LPMR_12 : PCM_CTL0_LPMR_10; - /* If a power transition is occuring, return false */ + /* If a power transition is occurring, return false */ if (BITBAND_PERI(PCM->CTL1, PCM_CTL1_PMR_BUSY_OFS)) return false; diff --git a/contrib/loaders/flash/msp432/startup_msp432e4.c b/contrib/loaders/flash/msp432/startup_msp432e4.c index 8adce8356..494da46e7 100644 --- a/contrib/loaders/flash/msp432/startup_msp432e4.c +++ b/contrib/loaders/flash/msp432/startup_msp432e4.c @@ -71,9 +71,9 @@ void (* const intr_vectors[])(void) __attribute__((section(".intvecs"))) = { }; /* - * The following are constructs created by the linker, indicating where the - * the "data" and "bss" segments reside in memory. The initializers for the - * for the "data" segment resides immediately following the "text" segment. + * The following are constructs created by the linker, indicating where + * the "data" and "bss" segments reside in memory. The initializers for + * the "data" segment resides immediately following the "text" segment. */ extern uint32_t __bss_start__; extern uint32_t __bss_end__; diff --git a/contrib/loaders/flash/msp432/startup_msp432p4.c b/contrib/loaders/flash/msp432/startup_msp432p4.c index ed7ea10a9..09103b0e4 100644 --- a/contrib/loaders/flash/msp432/startup_msp432p4.c +++ b/contrib/loaders/flash/msp432/startup_msp432p4.c @@ -71,9 +71,9 @@ void (* const intr_vectors[])(void) __attribute__((section(".intvecs"))) = { }; /* - * The following are constructs created by the linker, indicating where the - * the "data" and "bss" segments reside in memory. The initializers for the - * for the "data" segment resides immediately following the "text" segment. + * The following are constructs created by the linker, indicating where + * the "data" and "bss" segments reside in memory. The initializers for + * the "data" segment resides immediately following the "text" segment. */ extern uint32_t __bss_start__; extern uint32_t __bss_end__; diff --git a/contrib/loaders/flash/stm32/stm32h7x.S b/contrib/loaders/flash/stm32/stm32h7x.S index 99e416753..8ef42a4cf 100644 --- a/contrib/loaders/flash/stm32/stm32h7x.S +++ b/contrib/loaders/flash/stm32/stm32h7x.S @@ -25,7 +25,7 @@ * Code limitations: * The workarea must have size multiple of 4 bytes, since R/W * operations are all at 32 bits. - * The workarea must be big enough to contain rp, wp and data, thus the minumum + * The workarea must be big enough to contain rp, wp and data, thus the minimum * workarea size is: min_wa_size = sizeof(rp, wp, data) = 4 + 4 + sizeof(data). * - for 0x450 devices: sizeof(data) = 32 bytes, thus min_wa_size = 40 bytes. * - for 0x480 devices: sizeof(data) = 16 bytes, thus min_wa_size = 24 bytes. @@ -78,7 +78,7 @@ wait_fifo: str r7, [r5, #STM32_FLASH_CR_OFFSET] mov r8, #4 - udiv r8, r4, r8 /* number of words is size of write word devided by 4*/ + udiv r8, r4, r8 /* number of words is size of write word divided by 4*/ write_flash: dsb ldr r7, [r6], #0x04 /* read one word from src, increment ptr */ diff --git a/contrib/loaders/flash/str7x.s b/contrib/loaders/flash/str7x.s index a163ee674..cd19013be 100644 --- a/contrib/loaders/flash/str7x.s +++ b/contrib/loaders/flash/str7x.s @@ -51,7 +51,7 @@ busy: tsteq r4, #0x100 /* write protection set */ bne exit add r1, r1, #0x8 /* next 8 bytes */ - subs r3, r3, #1 /* decremment dword count */ + subs r3, r3, #1 /* decrement dword count */ bne write exit: b exit diff --git a/contrib/loaders/flash/str9x.s b/contrib/loaders/flash/str9x.s index 4daac7731..279b17503 100644 --- a/contrib/loaders/flash/str9x.s +++ b/contrib/loaders/flash/str9x.s @@ -48,7 +48,7 @@ busy: strh r5, [r4, #0] tst r3, #0x12 bne exit - subs r2, r2, #1 /* decremment word count */ + subs r2, r2, #1 /* decrement word count */ bne write exit: bkpt #0 diff --git a/contrib/rpc_examples/ocd_rpc_example.py b/contrib/rpc_examples/ocd_rpc_example.py index 9d17e7695..3470d848b 100755 --- a/contrib/rpc_examples/ocd_rpc_example.py +++ b/contrib/rpc_examples/ocd_rpc_example.py @@ -125,7 +125,7 @@ if __name__ == "__main__": show(ocd.send("capture { echo \"echo says hi!\" }")[:-1]) show(ocd.send("capture \"halt\"")[:-1]) - # Read the first few words at the RAM region (put starting adress of RAM + # Read the first few words at the RAM region (put starting address of RAM # region into 'addr') addr = 0x10000000 ----------------------------------------------------------------------- Summary of changes: contrib/coresight-trace.txt | 2 +- contrib/cross-build.sh | 2 +- contrib/itmdump.c | 2 +- contrib/loaders/flash/at91sam7x/crt.s | 2 +- contrib/loaders/flash/at91sam7x/dcc.c | 2 +- contrib/loaders/flash/at91sam7x/main.c | 2 +- contrib/loaders/flash/at91sam7x/ocl.h | 2 +- contrib/loaders/flash/cc26xx/flash.h | 6 +++--- contrib/loaders/flash/cc26xx/startup.c | 2 +- contrib/loaders/flash/mrvlqspi_write.S | 4 ++-- contrib/loaders/flash/msp432/driverlib.c | 2 +- contrib/loaders/flash/msp432/startup_msp432e4.c | 6 +++--- contrib/loaders/flash/msp432/startup_msp432p4.c | 6 +++--- contrib/loaders/flash/stm32/stm32h7x.S | 4 ++-- contrib/loaders/flash/str7x.s | 2 +- contrib/loaders/flash/str9x.s | 2 +- contrib/rpc_examples/ocd_rpc_example.py | 2 +- src/flash/nor/mrvlqspi.c | 8 ++++---- 18 files changed, 29 insertions(+), 29 deletions(-) hooks/post-receive -- Main OpenOCD repository |