Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/xscale Scoot the SDRAM controller's mapping for...



details:   https://anonhg.NetBSD.org/src/rev/4e74692c69bd
branches:  trunk
changeset: 556175:4e74692c69bd
user:      scw <scw%NetBSD.org@localhost>
date:      Mon Dec 08 16:14:16 2003 +0000

description:
Scoot the SDRAM controller's mapping forward to the next 1MB boundary
so it can be mapped easily at startup.

diffstat:

 sys/arch/arm/xscale/ixp425reg.h |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r fab1fc4cb1b4 -r 4e74692c69bd sys/arch/arm/xscale/ixp425reg.h
--- a/sys/arch/arm/xscale/ixp425reg.h   Mon Dec 08 14:59:26 2003 +0000
+++ b/sys/arch/arm/xscale/ixp425reg.h   Mon Dec 08 16:14:16 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ixp425reg.h,v 1.16 2003/12/08 14:41:11 scw Exp $ */
+/*     $NetBSD: ixp425reg.h,v 1.17 2003/12/08 16:14:16 scw Exp $ */
 /*
  * Copyright (c) 2003
  *     Ichiro FUKUHARA <ichiro%ichiro.org@localhost>.
@@ -74,8 +74,10 @@
  *           PCI Data (memory space)
  * F800 0000 ---------------------------
  *
- * F001 3000 ---------------------------
+ * F020 1000 ---------------------------
  *           SDRAM Controller
+ * F020 0000 ---------------------------
+ *
  * F001 2000 ---------------------------
  *           PCI Configuration and Status Registers
  * F001 1000 ---------------------------
@@ -445,8 +447,7 @@
  * SDRAM Configuration Register
  */
 #define        IXP425_MCU_HWBASE       0xcc000000UL
-#define IXP425_MCU_VBASE       (IXP425_PCI_VBASE + IXP425_PCI_SIZE)
-                                               /* 0xf0012000 */
+#define IXP425_MCU_VBASE       0xf0200000UL
 #define        IXP425_MCU_SIZE         0x1000          /* Actually only 256 bytes */
 #define        MCU_SDR_CONFIG          0x00
 #define  MCU_SDR_CONFIG_MCONF(x) ((x) & 0x7)



Home | Main Index | Thread Index | Old Index