tcl/board: add SPDX tag
[fw/openocd] / tcl / board / uptech_2410.cfg
index 950f2a7c1b0bf656dd05e23e4e7b2038900bc131..ba269f5d0726cc6d01942b9a7545cfdaf1dae45d 100644 (file)
@@ -1,5 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # Target Configuration for the Uptech 2410 board.
-# This configuration hould also work on smdk2410, but I havn't tested it yet.
+# This configuration should also work on smdk2410, but I haven't tested it yet.
 # Author: xionglingfeng@Gmail.com
 
 source [find target/samsung_s3c2410.cfg]
@@ -11,28 +13,28 @@ proc init_pll_sdram { } {
        #echo "---------- Initializing PLL and SDRAM ---------"
        #watchdog timer disable
        mww phys 0x53000000 0x00000000
-       
+
        #disable all interrupts
        mww phys 0x4a000008 0xffffffff
-       
+
        #disable all sub-interrupts
        mww phys 0x4a00001c 0x000007ff
-       
+
        #clear all source pending bits
        mww phys 0x4a000000 0xffffffff
-       
+
        #clear all sub-source pending bits
        mww phys 0x4a000018 0x000007ff
-       
+
        #clear interrupt pending bit
        mww phys 0x4a000010 0xffffffff
-       
+
        #PLL locktime counter
        mww phys 0x4c000000 0x00ffffff
-       
+
        #Fin=12MHz Fout=202.8MHz
        #mww phys 0x4c000004 0x000a1031
-       
+
        #FCLK:HCLK:PCLK = 1:2:4
        mww phys 0x4c000014 0x00000003
 
@@ -61,5 +63,3 @@ proc uptech2410_init { } {
 
 set _NANDNAME $_CHIPNAME.nand
 nand device $_NANDNAME s3c2410 $_TARGETNAME
-
-