📄 memsetup-s3c44b0.s
字号:
/* * memsetup-sa1110.S: memory setup for various SA1110 architectures * * $Id: memsetup-sa1110.S,v 1.8 2001/12/27 18:27:37 erikm Exp $ * * Copyright (C) 2001 Erik Mouw (J.A.K.Mouw@its.tudelft.nl) * * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *//* * Documentation: * Intel Corporation, "Intel StrongARM SA-1110 Microprocessor * Advanced Developer's manual, December 1999 * * Intel has a very hard to find SDRAM configurator on their web site: * http://appzone.intel.com/hcd/sa1110/memory/index.asp * * NOTE: This code assumes that an SA1110 CPU *always* uses SDRAM. This * appears to be true, but it might be possible that somebody designs a * board with mixed EDODRAM/SDRAM memory (which is a bad idea). -- Erik * * 04-10-2001: SELETZ * - separated memory config for multiple platform support * - perform SA1110 Hardware Reset Procedure * */.ident "$Id: memsetup-sa1110.S,v 1.8 2001/12/27 18:27:37 erikm Exp $"#ifdef HAVE_CONFIG_H# include <blob/config.h>#endif#define BLOB_NEED_MEMCONFIG#include <blob/memsetup.h>#include <blob/arch.h> .textMEMORY_CONFIG: .long 0x11000000 .long 0x600 .long 0x7ffc .long 0x7ffc .long 0x7ffc .long 0x7ffc .long 0x7ffc .long 0x18001 .long 0x18000 .long 0x82062b .long 0x10 .long 0x20 .long 0x20.globl memsetupmemsetup: ldr r0, =MEMORY_CONFIG ldmia r0, {r1-r13} ldr r0, =0x01c80000 stmia r0, {r1-r13} mov pc, lr
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -