LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Wade Farnsworth <wfarnsworth@mvista.com>
To: linuxppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: Re: [PATCH 6/6] MTD defines for Luan
Date: 01 Mar 2006 16:54:15 -0700	[thread overview]
Message-ID: <1141257255.25758.34.camel@rhino.az.mvista.com> (raw)
In-Reply-To: <1141257179.25758.31.camel@rhino.az.mvista.com>

[-- Attachment #1: Type: text/plain, Size: 131 bytes --]

This fixes the defines for MTD support in the Luan platform file.

--Wade

Signed off by: Wade Farnsworth <wfarnsworth@mvista.com>

[-- Attachment #2: luan-mtd-defs.patch --]
[-- Type: text/x-patch, Size: 1412 bytes --]

diff --git a/arch/ppc/platforms/4xx/luan.h b/arch/ppc/platforms/4xx/luan.h
--- a/arch/ppc/platforms/4xx/luan.h
+++ b/arch/ppc/platforms/4xx/luan.h
@@ -32,14 +32,28 @@
 #define LUAN_TMR_CLK		25000000
 
 /* Flash */
-#define LUAN_FPGA_REG_0			0x0000000148300000ULL
+#define LUAN_FPGA_REG_0			0x00000001f8000000ULL
+#define LUAN_CONFIG_MASK		0x43
+#define LUAN_CONFIG_1			0x41
+#define LUAN_CONFIG_2			0x40
+#define LUAN_CONFIG_3			0x01
+#define LUAN_CONFIG_4			0x00
 #define LUAN_BOOT_LARGE_FLASH(x)	(x & 0x40)
-#define LUAN_SMALL_FLASH_LOW		0x00000001ff900000ULL
-#define LUAN_SMALL_FLASH_HIGH		0x00000001ffe00000ULL
+#define LUAN_SMALL_FLASH_LOW		0x00000001f9900000ULL
+#define LUAN_SMALL_FLASH_LOW4		0x00000001f9800000ULL
+#define LUAN_SMALL_FLASH_HIGH		0x00000001fff00000ULL
+#define LUAN_SMALL_FLASH_HIGH2		0x00000001ffe00000ULL
 #define LUAN_SMALL_FLASH_SIZE		0x100000
-#define LUAN_LARGE_FLASH_LOW		0x00000001ff800000ULL
+#define LUAN_LARGE_FLASH_LOW		0x00000001f9800000ULL
 #define LUAN_LARGE_FLASH_HIGH		0x00000001ffc00000ULL
 #define LUAN_LARGE_FLASH_SIZE		0x400000
+#define LUAN_SRAM_HIGH			0x00000001ffe00000ULL
+#define LUAN_SRAM_HIGH2			0x00000001fff00000ULL
+#define LUAN_SRAM_LOW			0x00000001f9800000ULL
+#define LUAN_SRAM_LOW4			0x00000001f9900000ULL
+#define LUAN_SRAM_SIZE			0x100000
+#define LUAN_FRAM_ADDR			0x00000001f8060000ULL
+#define LUAN_FRAM_SIZE			0x8000
 
 /*
  * Serial port defines

      reply	other threads:[~2006-03-01 23:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-01 23:35 [PATCH 0/6] AMCC 440SP/Luan board enhancements & fixes Wade Farnsworth
2006-03-01 23:45 ` [PATCH 1/6] Support for UART 2 on 440SP and Luan Wade Farnsworth
2006-03-01 23:47   ` [PATCH 2/6] Add UIC settings for 440SP & Luan Wade Farnsworth
2006-03-01 23:50     ` [PATCH 3/6] PCIX fixes and enhancements " Wade Farnsworth
2006-03-01 23:51       ` [PATCH 4/6] L2 Cache support for 440SP Wade Farnsworth
2006-03-01 23:52         ` [PATCH 5/6] Clock and power management define fixes " Wade Farnsworth
2006-03-01 23:54           ` Wade Farnsworth [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1141257255.25758.34.camel@rhino.az.mvista.com \
    --to=wfarnsworth@mvista.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox