All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Swarthout <ed.swarthout@hwdebug.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Fix MPC8544DS PCIe3 scsi.
Date: Mon, 20 Aug 2007 03:03:51 -0500	[thread overview]
Message-ID: <11875970313708-git-send-email-ed.swarthout@hwdebug.com> (raw)

From: Ed Swarthout <ed.swarthout@freescale.com>

Increase PCIe 3 Memory region to 8M to fix scsi invalid port number:

SCSI:  scanning bus for devices...
Invaild port number 1
Invaild port number 2
Invaild port number 3

Signed-off-by: Ed Swarthout <ed.swarthout@freescale.com>
---

d64ee908 reduced PCIe 3 region by too much.
With this fix I get 0xb010c000 assigned to bar5.

 board/freescale/mpc8544ds/init.S |    2 +-
 include/configs/MPC8544DS.h      |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/board/freescale/mpc8544ds/init.S b/board/freescale/mpc8544ds/init.S
index 900c368..ca1b5d5 100644
--- a/board/freescale/mpc8544ds/init.S
+++ b/board/freescale/mpc8544ds/init.S
@@ -237,6 +237,6 @@ law_entry:
 
 	/* contains both PCIE3 MEM & IO space */
 	.long	(CFG_PCIE3_MEM_PHYS>>12) & 0xfffff
-	.long	LAWAR_EN | LAWAR_TRGT_PCIE3 | (LAWAR_SIZE & LAWAR_SIZE_2M)
+	.long	LAWAR_EN | LAWAR_TRGT_PCIE3 | (LAWAR_SIZE & LAWAR_SIZE_16M)
 4:
 	entry_end
diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h
index 746f360..ba5aa00 100644
--- a/include/configs/MPC8544DS.h
+++ b/include/configs/MPC8544DS.h
@@ -308,9 +308,9 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /* controller 3, direct to uli, tgtid 3, Base address b000 */
 #define CFG_PCIE3_MEM_BASE	0xb0000000
 #define CFG_PCIE3_MEM_PHYS	CFG_PCIE3_MEM_BASE
-#define CFG_PCIE3_MEM_SIZE	0x00100000	/* 1M */
+#define CFG_PCIE3_MEM_SIZE	0x00800000	/* 8M of 16M LAW */
 #define CFG_PCIE3_IO_BASE	0x00000000
-#define CFG_PCIE3_IO_PHYS	0xb0100000	/* reuse mem LAW */
+#define CFG_PCIE3_IO_PHYS	0xb0800000	/* reuse mem LAW */
 #define CFG_PCIE3_IO_SIZE	0x00100000	/* 1M */
 
 #if defined(CONFIG_PCI)
-- 
1.5.3.rc5.18.ga85e4

             reply	other threads:[~2007-08-20  8:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-20  8:03 Ed Swarthout [this message]
2007-08-20 14:14 ` [U-Boot-Users] [PATCH] Fix MPC8544DS PCIe3 scsi Kumar Gala
2007-08-20 14:44   ` Kumar Gala
2007-08-21  4:55     ` [U-Boot-Users] [PATCH] fsl_pci_init - Remove self PCSRBAR allocation Ed Swarthout
2007-08-24  7:00       ` Kumar Gala
2007-08-29  0:09       ` Wolfgang Denk
2007-08-29  0:07     ` [U-Boot-Users] [PATCH] Fix MPC8544DS PCIe3 scsi Wolfgang Denk
2007-08-29  2:02       ` Andy Fleming
2007-08-29  2:56       ` Ed Swarthout
2007-08-29 19:53       ` Kumar Gala
2007-08-30  7:26         ` [U-Boot-Users] [PATCH] Revert "Fix MPC8544DS PCIe3 scsi." Ed Swarthout
2007-08-30  7:33           ` Wolfgang Denk
2007-08-29  0:05 ` [U-Boot-Users] [PATCH] Fix MPC8544DS PCIe3 scsi Wolfgang Denk

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=11875970313708-git-send-email-ed.swarthout@hwdebug.com \
    --to=ed.swarthout@hwdebug.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.