forked from auracaster/openocd
tcl: remove trailing whitespace
The script checkpatch available in new Linux kernel offers an
experimental feature for automatically fix the code in place.
While still experimental, the feature works quite well for simple
fixes, like spacing.
This patch has been created automatically with the script under
review for inclusion in OpenOCD, using the command:
find tcl/ -type f -exec ./tools/scripts/checkpatch.pl \
-q --types TRAILING_WHITESPACE --fix-inplace -f {} \;
The patch only changes amount and position of whitespace, thus
the following commands show empty diff
git diff -w
git log -w -p
git log -w --stat
Change-Id: Ie7e3a236f4db9c70019e3b3c7e851edbd3a9dd84
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5616
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
This commit is contained in:
@@ -17,11 +17,11 @@ flash bank $_FLASHNAME cfi 0x64000000 0x01000000 2 2 $_TARGETNAME
|
||||
proc stm32_enable_fsmc {} {
|
||||
|
||||
echo "Enabling FSMC Bank 1 (NOR/PSRAM Bank 2)"
|
||||
|
||||
|
||||
# enable gpio (defg) clocks for fsmc
|
||||
# RCC_APB2ENR
|
||||
mww 0x40021018 0x000001E0
|
||||
|
||||
|
||||
# enable fsmc clock
|
||||
# RCC_AHBENR
|
||||
mww 0x40021014 0x00000114
|
||||
@@ -31,29 +31,29 @@ proc stm32_enable_fsmc {} {
|
||||
mww 0x40011400 0x44BB44BB
|
||||
# GPIOD_CRH
|
||||
mww 0x40011404 0xBBBBBBBB
|
||||
|
||||
|
||||
# GPIOE_CRL
|
||||
mww 0x40011800 0xBBBBB444
|
||||
# GPIOE_CRH
|
||||
mww 0x40011804 0xBBBBBBBB
|
||||
|
||||
|
||||
# GPIOF_CRL
|
||||
mww 0x40011C00 0x44BBBBBB
|
||||
# GPIOF_CRH
|
||||
mww 0x40011C04 0xBBBB4444
|
||||
|
||||
|
||||
# GPIOG_CRL
|
||||
mww 0x40012000 0x44BBBBBB
|
||||
# GPIOG_CRH
|
||||
mww 0x40012004 0x444444B4
|
||||
|
||||
|
||||
# setup fsmc timings
|
||||
# FSMC_BCR1
|
||||
mww 0xA0000008 0x00001058
|
||||
|
||||
|
||||
# FSMC_BTR1
|
||||
mww 0xA000000C 0x10000502
|
||||
|
||||
|
||||
# FSMC_BCR1 - enable fsmc
|
||||
mww 0xA0000008 0x00001059
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user