change log for rtems (2011-10-10)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon Oct 10 09:12:21 UTC 2011


 *sh*:
2011-10-10	Sebastian Huber <sebastian.huber at embedded-brains.de>

	PR 1928/bsps:
	* mpc55xx/include/fsl-mpc567x.h: Revert previous change.
	* mpc55xx/misc/flash_support.c: Enable this file only for MPC55XX.

M  1.403  c/src/lib/libcpu/powerpc/ChangeLog
M    1.5  c/src/lib/libcpu/powerpc/mpc55xx/include/fsl-mpc567x.h
M    1.2  c/src/lib/libcpu/powerpc/mpc55xx/misc/flash_support.c

diff -u rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.402 rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.403
--- rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.402	Fri Oct  7 04:58:39 2011
+++ rtems/c/src/lib/libcpu/powerpc/ChangeLog	Mon Oct 10 03:22:27 2011
@@ -1,3 +1,9 @@
+2011-10-10	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	PR 1928/bsps:
+	* mpc55xx/include/fsl-mpc567x.h: Revert previous change.
+	* mpc55xx/misc/flash_support.c: Enable this file only for MPC55XX.
+
 2011-10-07	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* ppc403/clock/clock.c (ClockOn): Define pvr only for "ifndef ppc405".

diff -u rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/fsl-mpc567x.h:1.4 rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/fsl-mpc567x.h:1.5
--- rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/fsl-mpc567x.h:1.4	Fri Oct  7 03:41:45 2011
+++ rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/fsl-mpc567x.h	Mon Oct 10 03:22:27 2011
@@ -639,7 +639,8 @@
             uint32_t R;
             struct {
                 uint32_t:5;
-                uint32_t SIZE:4;
+                uint32_t SIZE:3;
+                uint32_t:1;
                 uint32_t LAS:3;
                 uint32_t:3;
                 uint32_t MAS:1;

diff -u rtems/c/src/lib/libcpu/powerpc/mpc55xx/misc/flash_support.c:1.1 rtems/c/src/lib/libcpu/powerpc/mpc55xx/misc/flash_support.c:1.2
--- rtems/c/src/lib/libcpu/powerpc/mpc55xx/misc/flash_support.c:1.1	Tue Aug 30 08:30:09 2011
+++ rtems/c/src/lib/libcpu/powerpc/mpc55xx/misc/flash_support.c	Mon Oct 10 03:22:27 2011
@@ -37,6 +37,8 @@
 #include <libcpu/powerpc-utility.h>
 #include <rtems/powerpc/registers.h>
 
+#if MPC55XX_CHIP_TYPE / 100 == 55
+
 /* Set up the memory ranges for the flash on
  * the MPC5553, MPC5554, MPC5566 and MPC5567.
  * I check if it is an unknown CPU and return an error.
@@ -695,3 +697,5 @@
 
     return mas2 & 0xFFFFF000;
 }
+
+#endif /* MPC55XX_CHIP_TYPE / 100 == 55 */


 *sh*:
2011-10-10	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* mpc55xx/include/fsl-mpc567x.h: Added EQADC as an alias to EQADC_A.

M  1.404  c/src/lib/libcpu/powerpc/ChangeLog
M    1.6  c/src/lib/libcpu/powerpc/mpc55xx/include/fsl-mpc567x.h

diff -u rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.403 rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.404
--- rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.403	Mon Oct 10 03:22:27 2011
+++ rtems/c/src/lib/libcpu/powerpc/ChangeLog	Mon Oct 10 03:37:06 2011
@@ -1,5 +1,9 @@
 2011-10-10	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
+	* mpc55xx/include/fsl-mpc567x.h: Added EQADC as an alias to EQADC_A.
+
+2011-10-10	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
 	PR 1928/bsps:
 	* mpc55xx/include/fsl-mpc567x.h: Revert previous change.
 	* mpc55xx/misc/flash_support.c: Enable this file only for MPC55XX.

diff -u rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/fsl-mpc567x.h:1.5 rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/fsl-mpc567x.h:1.6
--- rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/fsl-mpc567x.h:1.5	Mon Oct 10 03:22:27 2011
+++ rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/fsl-mpc567x.h	Mon Oct 10 03:37:07 2011
@@ -6555,6 +6555,7 @@
 #define EDMA_B    (*( volatile struct EDMA_tag *)       0xFFF54000)
 
 #define EQADC_A   (*( volatile struct EQADC_tag *)      0xFFF80000)
+#define EQADC EQADC_A
 #define EQADC_B   (*( volatile struct EQADC_tag *)      0xFFF84000)
 
 #define DECFIL_A   (*( volatile struct DECFIL_tag *)      0xFFF88000)


 *ralf*:
2011-10-10	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libchip/serial/z85c30.c: Eliminate unused var "dummy".

M  1.557  c/src/ChangeLog
M   1.32  c/src/libchip/serial/z85c30.c

diff -u rtems/c/src/ChangeLog:1.556 rtems/c/src/ChangeLog:1.557
--- rtems/c/src/ChangeLog:1.556	Sun Oct  9 21:12:46 2011
+++ rtems/c/src/ChangeLog	Mon Oct 10 03:37:28 2011
@@ -1,5 +1,6 @@
 2011-10-10	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libchip/serial/z85c30.c: Eliminate unused var "dummy".
 	* libchip/network/sonic.c: Don't cast pointers to uint32_t.
 
 2011-10-09	Ralf Corsépius <ralf.corsepius at rtems.org>

diff -u rtems/c/src/libchip/serial/z85c30.c:1.31 rtems/c/src/libchip/serial/z85c30.c:1.32
--- rtems/c/src/libchip/serial/z85c30.c:1.31	Sun Apr 25 19:58:39 2010
+++ rtems/c/src/libchip/serial/z85c30.c	Mon Oct 10 03:37:28 2011
@@ -254,7 +254,6 @@
 Z85C30_STATIC void z85c30_init(int minor)
 {
   uintptr_t        ulCtrlPort;
-  uint8_t          dummy;
   z85c30_context  *pz85c30Context;
   setRegister_f    setReg;
   getRegister_f    getReg;
@@ -276,7 +275,7 @@
     /*
      * Ensure port state machine is reset
      */
-    dummy = (*getReg)(ulCtrlPort, SCC_WR0_SEL_RD0);
+    (*getReg)(ulCtrlPort, SCC_WR0_SEL_RD0);
 
     (*setReg)(ulCtrlPort, SCC_WR0_SEL_WR9, SCC_WR9_CH_A_RST);
 
@@ -287,7 +286,7 @@
     /*
      * Ensure port state machine is reset
      */
-    dummy = (*getReg)(ulCtrlPort, SCC_WR0_SEL_RD0);
+    (*getReg)(ulCtrlPort, SCC_WR0_SEL_RD0);
 
     (*setReg)(ulCtrlPort, SCC_WR0_SEL_WR9, SCC_WR9_CH_B_RST);
   }



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111010/f15c74b6/attachment.html>


More information about the vc mailing list