9e23c9ae35
Empty lines at end of text files are useless. Remove them. Change-Id: I503cb0a96c7ccb132f4486c206a48831121d7abd Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5171 Tested-by: jenkins
17 lines
340 B
Tcl
17 lines
340 B
Tcl
|
|
if [info exists AT91C_MAINOSC_FREQ] {
|
|
# user set this... let it be.
|
|
} {
|
|
# 18.432mhz is a common thing...
|
|
set AT91C_MAINOSC_FREQ 18432000
|
|
}
|
|
global AT91C_MAINOSC_FREQ
|
|
|
|
if [info exists AT91C_SLOWOSC_FREQ] {
|
|
# user set this... let it be.
|
|
} {
|
|
# 32khz is the norm
|
|
set AT91C_SLOWOSC_FREQ 32768
|
|
}
|
|
global AT91C_SLOWOSC_FREQ
|