2009-01-05 07:45:16 -06:00
|
|
|
# This is for the T-Home X300T / X301T IPTV box,
|
2009-02-09 04:01:09 -06:00
|
|
|
# which are based on IPTV reference designs from Kiss/Cisco KMM-3***
|
2009-01-05 07:45:16 -06:00
|
|
|
#
|
|
|
|
# It has Sigma Designs SMP8634 chip.
|
|
|
|
source [find target/smp8634.cfg]
|
|
|
|
|
|
|
|
$_TARGETNAME configure -event reset-init { x300t_init }
|
|
|
|
|
|
|
|
# 1MB CFI capable flash
|
|
|
|
# flash bank <driver> <base> <size> <chip_width> <bus_width>
|
|
|
|
flash bank cfi 0xac000000 0x100000 2 2 0
|
|
|
|
|
|
|
|
proc x300t_init { } {
|
2009-02-09 04:01:09 -06:00
|
|
|
# Setup SDRAM config and flash mapping
|
|
|
|
# initialize ram
|
|
|
|
mww 0xa003fffc 3
|
|
|
|
mww 0xa003fffc 2
|
|
|
|
mww 0xa0030000 0xE34111BA
|
|
|
|
mww 0xa003fffc 0xa4444
|
|
|
|
mww 0xa003fffc 0
|
2009-09-21 13:48:22 -05:00
|
|
|
|
2009-02-09 04:01:09 -06:00
|
|
|
# remap boot vector in CPU local RAM
|
|
|
|
mww 0xa006f000 0x60000
|
2009-09-21 13:48:22 -05:00
|
|
|
|
2009-02-09 04:01:09 -06:00
|
|
|
# map flash to CPU address space REG_BASE_cpu_block+CPU_remap4
|
|
|
|
mww 0x0006f010 0x48000000
|
2009-09-21 13:48:22 -05:00
|
|
|
|
2009-02-09 04:01:09 -06:00
|
|
|
# map flash addr to REG_BASE_cpu_block + LR_XENV_LOCATION (normally done by XOS)
|
|
|
|
mww 0x00061ff0 0x48000000
|
2009-01-05 07:45:16 -06:00
|
|
|
}
|