]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/corenet_ds.h
powerpc/8xxx: Refactor SRIO initialization into common code
[people/ms/u-boot.git] / include / configs / corenet_ds.h
index e1cd1b0b09c2cf53361e80ad69c4e77038679256..d1ac756b56a879cbf1765a0f4f6904812c856d5d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2009-2010 Freescale Semiconductor, Inc.
+ * Copyright 2009-2011 Freescale Semiconductor, Inc.
  *
  * See file CREDITS for list of people who contributed to this
  * project.
@@ -51,6 +51,7 @@
 #define CONFIG_FSL_PCI_INIT            /* Use common FSL init code */
 #define CONFIG_SYS_PCI_64BIT           /* enable 64-bit PCI resources */
 
+#define CONFIG_SYS_SRIO
 #define CONFIG_SRIO1                   /* SRIO port 1 */
 #define CONFIG_SRIO2                   /* SRIO port 2 */
 
 /*
  * RapidIO
  */
-#define CONFIG_SYS_RIO1_MEM_VIRT       0xa0000000
+#define CONFIG_SYS_SRIO1_MEM_VIRT      0xa0000000
 #ifdef CONFIG_PHYS_64BIT
-#define CONFIG_SYS_RIO1_MEM_PHYS       0xc20000000ull
+#define CONFIG_SYS_SRIO1_MEM_PHYS      0xc20000000ull
 #else
-#define CONFIG_SYS_RIO1_MEM_PHYS       0xa0000000
+#define CONFIG_SYS_SRIO1_MEM_PHYS      0xa0000000
 #endif
-#define CONFIG_SYS_RIO1_MEM_SIZE       0x10000000      /* 256M */
+#define CONFIG_SYS_SRIO1_MEM_SIZE      0x10000000      /* 256M */
 
-#define CONFIG_SYS_RIO2_MEM_VIRT       0xb0000000
+#define CONFIG_SYS_SRIO2_MEM_VIRT      0xb0000000
 #ifdef CONFIG_PHYS_64BIT
-#define CONFIG_SYS_RIO2_MEM_PHYS       0xc30000000ull
+#define CONFIG_SYS_SRIO2_MEM_PHYS      0xc30000000ull
 #else
-#define CONFIG_SYS_RIO2_MEM_PHYS       0xb0000000
+#define CONFIG_SYS_SRIO2_MEM_PHYS      0xb0000000
 #endif
-#define CONFIG_SYS_RIO2_MEM_SIZE       0x10000000      /* 256M */
+#define CONFIG_SYS_SRIO2_MEM_SIZE      0x10000000      /* 256M */
 
 /*
  * General PCI