public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/7] eSPI: add the eSPI register support
@ 2009-03-16  2:52 Mingkai Hu
  2009-03-16  2:52 ` [U-Boot] [PATCH 2/7] mtd: SPI Flash: Support the Spansion Flash Mingkai Hu
  0 siblings, 1 reply; 36+ messages in thread
From: Mingkai Hu @ 2009-03-16  2:52 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
---
 include/asm-ppc/immap_85xx.h |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/include/asm-ppc/immap_85xx.h b/include/asm-ppc/immap_85xx.h
index 094fb9c..f3ab750 100644
--- a/include/asm-ppc/immap_85xx.h
+++ b/include/asm-ppc/immap_85xx.h
@@ -258,6 +258,21 @@ typedef struct ccsr_lbc {
 } ccsr_lbc_t;
 
 /*
+ * eSPI Registers(0x7000-0x8000)
+ */
+typedef struct ccsr_espi {
+	uint	mode;		/* 0x00 - eSPI mode register  */
+	uint	event;		/* 0x04 - eSPI event register */
+	uint	mask;		/* 0x08 - eSPI mask register  */
+	uint	com;		/* 0x0c - eSPI command register */
+	uint	tx;		/* 0x10 - eSPI transmit FIFO access register */
+	uint	rx;		/* 0x14 - eSPI receive FIFO access register */
+	char	res1[8];	/* reserved */
+	uint	csmode[4];	/* 0x20 - 0x2c: sSPI CS0/1/2/3 mode register */
+	char	res2[4048];	/* fill up to 0x1000 */
+} ccsr_espi_t;
+
+/*
  * PCI Registers(0x8000-0x9000)
  */
 typedef struct ccsr_pcix {
@@ -1682,6 +1697,8 @@ typedef struct ccsr_gur {
 #define CONFIG_SYS_MPC85xx_DDR2_ADDR	(CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_DDR2_OFFSET)
 #define CONFIG_SYS_MPC85xx_LBC_OFFSET	(0x5000)
 #define CONFIG_SYS_MPC85xx_LBC_ADDR	(CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_LBC_OFFSET)
+#define CONFIG_SYS_MPC85xx_ESPI_OFFSET	(0x7000)
+#define CONFIG_SYS_MPC85xx_ESPI_ADDR	(CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_ESPI_OFFSET)
 #define CONFIG_SYS_MPC85xx_PCIX_OFFSET	(0x8000)
 #define CONFIG_SYS_MPC85xx_PCIX_ADDR	(CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_PCIX_OFFSET)
 #define CONFIG_SYS_MPC85xx_PCIX2_OFFSET	(0x9000)
-- 
1.5.4

^ permalink raw reply related	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2009-08-27  7:47 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-16  2:52 [U-Boot] [PATCH 1/7] eSPI: add the eSPI register support Mingkai Hu
2009-03-16  2:52 ` [U-Boot] [PATCH 2/7] mtd: SPI Flash: Support the Spansion Flash Mingkai Hu
2009-03-16  2:52   ` [U-Boot] [PATCH 3/7] eSPI: add eSPI controller support Mingkai Hu
2009-03-16  2:52     ` [U-Boot] [PATCH 4/7] eSPI: make the chip selsec enable Mingkai Hu
2009-03-16  2:52       ` [U-Boot] [PATCH 5/7] Make a special uboot used for booting from SDcard or SPI flash Mingkai Hu
2009-03-16  2:52         ` [U-Boot] [PATCH 6/7] Add support for save the env to SDcard Mingkai Hu
2009-03-16  2:52           ` [U-Boot] [PATCH 7/7] Save the env variables to SDcard and SPI flash for MPC8536DS Mingkai Hu
2009-03-16  8:56             ` Wolfgang Denk
2009-03-16  7:25           ` [U-Boot] [PATCH 6/7] Add support for save the env to SDcard Mike Frysinger
2009-03-16  8:55         ` [U-Boot] [PATCH 5/7] Make a special uboot used for booting from SDcard or SPI flash Wolfgang Denk
2009-03-17 12:16           ` Hu Mingkai-B21284
2009-03-17 12:30             ` Wolfgang Denk
2009-03-18 17:15               ` Scott Wood
2009-03-18 19:29                 ` Wolfgang Denk
2009-03-18 19:57                   ` Scott Wood
2009-03-18 20:13                     ` Wolfgang Denk
2009-03-18 20:15                       ` Scott Wood
2009-03-18 21:11                         ` Wolfgang Denk
2009-08-27  2:43               ` Hu Mingkai-B21284
2009-03-16  6:15     ` [U-Boot] [PATCH 3/7] eSPI: add eSPI controller support Jean-Christophe PLAGNIOL-VILLARD
2009-03-16  7:28       ` Mike Frysinger
2009-03-16  8:56         ` Hu Mingkai-B21284
2009-03-16 10:05           ` Mike Frysinger
2009-08-27  3:01             ` Hu Mingkai-B21284
2009-08-27  5:53               ` Mike Frysinger
2009-08-27  6:27                 ` Hu Mingkai-B21284
2009-08-27  6:43                   ` Mike Frysinger
2009-08-27  6:59                     ` Hu Mingkai-B21284
2009-08-27  7:22                       ` Mike Frysinger
2009-08-27  7:47                         ` Hu Mingkai-B21284
2009-03-16 11:58     ` Scott McNutt
2009-03-16  4:38   ` [U-Boot] [PATCH 2/7] mtd: SPI Flash: Support the Spansion Flash Mike Frysinger
2009-03-16  6:23     ` Hu Mingkai-B21284
2009-03-29 19:34       ` Mike Frysinger
2009-03-31  1:12   ` Mike Frysinger
2009-03-31  5:51     ` Hu Mingkai-B21284

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox