1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2002 by Linus Nielsen Feltzing
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 /* Most of the code from this file has now been moved into the target trees */
25 .section .init.text,"ax",@progbits
30 #if CONFIG_CPU == TCC730
31 /* Platform: Gmini 120/SP */
32 ;; disable all interrupts
39 ldb @[a14 + 6], r5 ; disable watchdog
41 ld a11, #(_datacopy) ; where the data section is in the flash
42 ld a8, #(_datastart) ; destination
44 ;; copy data section from flash to ram.
66 ld a8, #(_bssstart) ; destination
97 .section .vectors, "ax"
109 ldb r0, @[a13 + 0x26]
111 ld a10, #_interrupt_vector