dcf977c89a
The ar9331_25mhz_pll_init and ar9331_ddr1_init routines can be used not only for TP-Link MR3020 board, so move them to the common atheros_ar9331.cfg file. Change-Id: I04090856b08151d6bb0f5ef9cc654efae1c81835 Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Reviewed-on: http://openocd.zylin.com/2999 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
13 lines
292 B
INI
13 lines
292 B
INI
source [find target/atheros_ar9331.cfg]
|
|
|
|
$_TARGETNAME configure -event reset-init {
|
|
ar9331_25mhz_pll_init
|
|
sleep 1
|
|
ar9331_ddr1_init
|
|
}
|
|
|
|
set ram_boot_address 0xa0000000
|
|
$_TARGETNAME configure -work-area-phys 0xa1FFE000 -work-area-size 0x1000
|
|
|
|
flash bank flash0 ath79 0 0 0 0 $_TARGETNAME cs0
|