tcl: add SPDX tag
[fw/openocd] / tcl / chip / atmel / at91 / pmc.tcl
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 if [info exists AT91C_MAINOSC_FREQ] {
4     # user set this... let it be.
5 } {
6     # 18.432mhz is a common thing...
7     set AT91C_MAINOSC_FREQ 18432000
8 }
9 global AT91C_MAINOSC_FREQ
10
11 if [info exists AT91C_SLOWOSC_FREQ] {
12     # user set this... let it be.
13 } {
14     # 32khz is the norm
15     set AT91C_SLOWOSC_FREQ 32768
16 }
17 global AT91C_SLOWOSC_FREQ