2 * The head-file for SH-Mobile ARM platforms
4 * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
5 * Simon Horman <horms@verge.net.au>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifdef CONFIG_ZBOOT_ROM
23 .section ".start", "ax"
25 /* load board-specific initialization code */
26 #include <mach/zboot.h>
28 #if defined(CONFIG_ZBOOT_ROM_MMCIF) || defined(CONFIG_ZBOOT_ROM_SH_MOBILE_SDHI)
29 /* Load image from MMC/SD */
30 adr sp, __tmp_stack + 256
37 /* Jump to loaded code */
49 .long MEMORY_START + 0x02000000 @ Load at 32Mb into SDRAM
56 #endif /* CONFIG_ZBOOT_ROM_MMC || CONFIG_ZBOOT_ROM_SH_MOBILE_SDHI */
58 /* Set board ID necessary for boot */
59 ldr r7, 1f @ Set machine type register
60 mov r8, #0 @ pass null pointer as atag
66 #endif /* CONFIG_ZBOOT_ROM */