From 16a86162a231a3d511341bbfa0c8cc663f6f080b Mon Sep 17 00:00:00 2001 From: Ric Claus Date: Fri, 30 Mar 2012 10:03:43 -0500 Subject: Add Virtex4 and Virtex5 BSPs This commit covers at least PR2020, 2022, and 2023. This patch adds all of the code for both BSPs, modifications to libcpu/powerpc for the ppc440, and some updates to the BSPs from follow up review and testing. These BSPs should be good baselines for future development. The configurations used by Ric are custom and have a non-standard NIC. They also do not have a UART. Thus the current console driver just prints to a RAM buffer. The NIC and UART support are left for future work. When the UART support is added, moving the existing "to RAM" console driver to a shared location is likely desirable because boards with no debug UART port are commonly deployed. This would let printk() go to RAM. --- c/src/lib/libcpu/powerpc/configure.ac | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'c/src/lib/libcpu/powerpc/configure.ac') diff --git a/c/src/lib/libcpu/powerpc/configure.ac b/c/src/lib/libcpu/powerpc/configure.ac index a77b907206..4fe697645d 100644 --- a/c/src/lib/libcpu/powerpc/configure.ac +++ b/c/src/lib/libcpu/powerpc/configure.ac @@ -41,6 +41,7 @@ AM_CONDITIONAL(shared, \ || test "$RTEMS_CPU_MODEL" = "ppc603e" \ || test "$RTEMS_CPU_MODEL" = "ppc403" \ || test "$RTEMS_CPU_MODEL" = "ppc405" \ +|| test "$RTEMS_CPU_MODEL" = "ppc440" \ || test "$RTEMS_CPU_MODEL" = "mpc604" \ || test "$RTEMS_CPU_MODEL" = "mpc6xx" \ || test "$RTEMS_CPU_MODEL" = "mpc8xx" \ @@ -74,10 +75,13 @@ AM_CONDITIONAL(mpc8260, test "$RTEMS_CPU_MODEL" = "mpc8260") AM_CONDITIONAL(mpc83xx, test "$RTEMS_CPU_MODEL" = "mpc83xx") AM_CONDITIONAL(qoriq, test "$RTEMS_CPU_MODEL" = "qoriq") -# the ppc405 shares files with the ppc403 -AM_CONDITIONAL(ppc403,[test "$RTEMS_CPU_MODEL" = "ppc403" \ -|| test "$RTEMS_CPU_MODEL" = "ppc405"]) +# the ppc405 and ppc440 share files with the ppc403 +AM_CONDITIONAL(ppc403, test "$RTEMS_CPU_MODEL" = "ppc403") AM_CONDITIONAL(ppc405, test "$RTEMS_CPU_MODEL" = "ppc405") +AM_CONDITIONAL(ppc440, test "$RTEMS_CPU_MODEL" = "ppc440") +AM_CONDITIONAL(ppc4xx, test "$RTEMS_CPU_MODEL" = "ppc403" \ +|| test "$RTEMS_CPU_MODEL" = "ppc405" \ +|| test "$RTEMS_CPU_MODEL" = "ppc440") AM_CONDITIONAL(e500, test "$RTEMS_CPU_MODEL" = "e500" \ || test "$RTEMS_CPU_MODEL" = "qoriq" ) -- cgit v1.2.3