1 # SPDX-License-Identifier: GPL-2.0-or-later
3 # This is for the T-Home X300T / X301T IPTV box,
4 # which are based on IPTV reference designs from Kiss/Cisco KMM-3***
6 # It has Sigma Designs SMP8634 chip.
7 source [find target/smp8634.cfg]
9 $_TARGETNAME configure -event reset-init { x300t_init }
11 # 1MB CFI capable flash
12 # flash bank <name> <driver> <base> <size> <chip_width> <bus_width> <target>
13 set _FLASHNAME $_CHIPNAME.flash
14 flash bank $_FLASHNAME cfi 0xac000000 0x100000 2 2 $_TARGETNAME
17 # Setup SDRAM config and flash mapping
21 mww 0xa0030000 0xE34111BA
22 mww 0xa003fffc 0xa4444
25 # remap boot vector in CPU local RAM
26 mww 0xa006f000 0x60000
28 # map flash to CPU address space REG_BASE_cpu_block+CPU_remap4
29 mww 0x0006f010 0x48000000
31 # map flash addr to REG_BASE_cpu_block + LR_XENV_LOCATION (normally done by XOS)
32 mww 0x00061ff0 0x48000000