[rtems commit] bsp/qoriq: Use array for FMan modules

Sebastian Huber sebh at rtems.org
Fri Jan 8 07:46:29 UTC 2016


Module:    rtems
Branch:    master
Commit:    b308f23bf74c346491bc73d07de12c358ca0400e
Changeset: http://git.rtems.org/rtems/commit/?id=b308f23bf74c346491bc73d07de12c358ca0400e

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Nov 24 08:31:16 2015 +0100

bsp/qoriq: Use array for FMan modules

---

 c/src/lib/libbsp/powerpc/qoriq/include/qoriq.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/qoriq/include/qoriq.h b/c/src/lib/libbsp/powerpc/qoriq/include/qoriq.h
index 34b4e5c..00d7267 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/include/qoriq.h
+++ b/c/src/lib/libbsp/powerpc/qoriq/include/qoriq.h
@@ -311,8 +311,7 @@ typedef struct {
   QORIQ_RESERVE(0x319000, 0x31a000);
   qoriq_bman bman;
   QORIQ_RESERVE(0x31b000, 0x400000);
-  qoriq_fman fman_0;
-  qoriq_fman fman_1;
+  qoriq_fman fman[2];
   QORIQ_RESERVE(0x600000, 0x2000000);
 } qoriq_ccsr;
 




More information about the vc mailing list