2 * arch/xtensa/boot/boot-elf/bootstrap.S
4 * Low-level exception handling
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
10 * Copyright (C) 2004 - 2013 by Tensilica Inc.
12 * Chris Zankel <chris@zankel.net>
13 * Marc Gauthier <marc@tensilica.com>
14 * Piet Delaney <piet@tensilica.com>
17 #include <asm/bootparam.h>
18 #include <asm/initialize_mmu.h>
19 #include <asm/vectors.h>
20 #include <linux/linkage.h>
22 .section .ResetVector.text, "ax"
29 .begin no-absolute-literals
32 #ifdef CONFIG_PARSE_BOOTPARAM
55 #ifndef CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
59 rsil a0, XCHAL_DEBUGLEVEL-1
62 #if defined(CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX) && \
63 XCHAL_HAVE_PTP_MMU && XCHAL_HAVE_SPANNING_WAY
64 movi a0, CONFIG_KERNEL_LOAD_ADDRESS
68 #ifdef CONFIG_PARSE_BOOTPARAM
77 .end no-absolute-literals