]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/pcie-lld.git/commitdiff
both am571x and am572x work
authorJohn Dowdal <jdowdal@ti.com>
Mon, 18 May 2015 22:47:58 +0000 (18:47 -0400)
committerJohn Dowdal <jdowdal@ti.com>
Mon, 18 May 2015 22:47:58 +0000 (18:47 -0400)
docs/ReleaseNotes_PCIE_LLD.doc
docs/ReleaseNotes_PCIE_LLD.pdf
example/sample/am571x/c66/bios/pcie_sample.cfg [changed mode: 0755->0644]
example/sample/am572x/c66/bios/pcie_sample.cfg
example/sample/src/pcie_sample.c
package.xdc
soc/am571x/src/pcie_soc.c
soc/am572x/src/pcie_soc.c

index dabde389bca9d713a3a96ddb5afa2b7c42f9f118..5b017db0708192d239764954b72ad188710359ba 100644 (file)
Binary files a/docs/ReleaseNotes_PCIE_LLD.doc and b/docs/ReleaseNotes_PCIE_LLD.doc differ
index 07f876f3ea2bf4c900939224bc000361592bc0d3..ecd8584f6e58b30127276e48ae3f6b5d11a5d642 100644 (file)
Binary files a/docs/ReleaseNotes_PCIE_LLD.pdf and b/docs/ReleaseNotes_PCIE_LLD.pdf differ
old mode 100755 (executable)
new mode 100644 (file)
index e0bec6c..47d9f82
@@ -38,8 +38,8 @@ var SysStd  = xdc.useModule('xdc.runtime.SysStd');
 System.SupportProxy = SysStd;
 
 /* specify heap size */
-Memory.defaultHeapSize = 0x2000;
-Program.heap = 0x2000;
+Memory.defaultHeapSize = 0x10000;
+Program.heap = 0x10000;
 
 var devType = "am571x";
 /* Load and use the PCIE packages */
index 8f904ee827d626f9b3d359759ab900613bae7123..b9dd477c8ef824760cd89cd8b07f9b8b8e188caf 100644 (file)
@@ -38,8 +38,8 @@ var SysStd  = xdc.useModule('xdc.runtime.SysStd');
 System.SupportProxy = SysStd;
 
 /* specify heap size */
-Memory.defaultHeapSize = 0x2000;
-Program.heap = 0x2000;
+Memory.defaultHeapSize = 0x10000;
+Program.heap = 0x10000;
 
 var devType = "am572x";
 /* Load and use the PCIE packages */
index f60bf35aeb17c1dec9af07df7ec3ef6436c1a087..46b21f89bdfa23dd260ae0341a5f54c0bdbd6ad5 100644 (file)
@@ -1017,7 +1017,7 @@ uint32_t pcieConvert_CoreLocal2GlobalAddr (uint32_t  addr)
   /* Get the core number. */\r
   coreNum = CSL_chipReadReg(CSL_CHIP_DNUM); \r
   \r
-#if defined(SOC_AM572x) && defined(SOC_AM571x)\r
+#if defined(SOC_AM572x) || defined(SOC_AM571x)\r
   /* Compute the global address. */\r
   return ((1 << 30) | (coreNum << 24) | (addr & 0x00ffffff));\r
 \r
index 86793ff3533e5feb12df285992e600b4818d81e9..afc7246abbdc4180af741a03ff64445f40c6e827 100644 (file)
@@ -9,7 +9,7 @@
  * Copyright (C) 2012-2015, Texas Instruments, Inc.\r
  *****************************************************************************/\r
 \r
-package ti.drv.pcie[02, 8, 00, 00] {\r
+package ti.drv.pcie[02, 02, 00, 00] {\r
   module Settings;\r
 }\r
 \r
index 361681eee4954b107a63ac4a975cbeb9e994df1e..d9e79920876b04722f9225cc41ad42784f9c1536 100644 (file)
@@ -1,5 +1,5 @@
 /**
- *   @file  am57x/src/pcie_soc.c
+ *   @file  am571x/src/pcie_soc.c
  *
  *   @brief
  *      This file contains the device specific configuration and initialization routines
@@ -144,7 +144,7 @@ Pciev1_DeviceCfgBaseAddrs cfgBaseAddrsDev2 =
   (uint32_t)0x1000
 };
 
-Pcie_DeviceCfgBaseAddr baseAddrDev1 =
+Pcie_DeviceCfgBaseAddr baseAddrDev2 =
 {
   &cfgBaseAddrsDev2,
   (void *)CSL_MPU_PCIE_SS2_REGS,
index d9603eb91128296d4bdb73531256e65ff10e0cd8..a143b570ea9c1c86fdc13bbd2d9c8f7d124eef94 100644 (file)
@@ -1,5 +1,5 @@
 /**
- *   @file  am57x/src/pcie_soc.c
+ *   @file  am572x/src/pcie_soc.c
  *
  *   @brief
  *      This file contains the device specific configuration and initialization routines