/* 
 * linux/arch/arm/boot/compressed/head-cxd4105.S
 * 
 * 
 * Copyright 2005,2006 Sony Corporation
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */

#include <linux/linkage.h>
#include <asm/mach-types.h>

		.section        ".start", "ax"

__cxd4105_start:
		ldr	r0, =0x77400000
		
		mov	r1, #0x01
		str	r1, [r0, #0xF0]
		str	r1, [r0, #0xD4]
		str	r1, [r0, #0xCC]


		ldr	r0, =0x76700000
		orr	r0, r0, #0x1100
		mov	r1, #0x01
		str	r1, [r0, #0x34]
		str	r1, [r0, #0x38]
		str	r1, [r0, #0x3C]
		str	r1, [r0, #0x40]


		ldr	r0, =0x74400000
		mov	r1, #0x01
		str	r1, [r0, #0x28]
		mov	r1, #0x08
		str	r1, [r0, #0x24]
		mov	r1, #0x70
		str	r1, [r0, #0x2C]
		mov	r1, #0x1700
		orr	r1, r1, #0x0001
		str	r1, [r0, #0x30]

		b	__cxd4105_end
		.ltorg
__cxd4105_end:	
