diff options
author | Ric Claus <claus@SLAC.Stanford.edu> | 2012-03-30 10:03:43 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-03-30 10:03:43 -0500 |
commit | 16a86162a231a3d511341bbfa0c8cc663f6f080b (patch) | |
tree | 70e2370f3dad78cc34711c3c622ba486d0ff0d7a /c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c | |
parent | Resolve link problems with psim irq-server (diff) | |
download | rtems-16a86162a231a3d511341bbfa0c8cc663f6f080b.tar.bz2 |
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.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c')
-rw-r--r-- | c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c b/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c index 9acdafb696..2c671c6c74 100644 --- a/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c +++ b/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c @@ -33,6 +33,7 @@ const char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu) case PPC_405: return "PPC405"; case PPC_405GP: return "PPC405GP"; case PPC_405EX: return "PPC405EX"; + case PPC_440: return "PPC440"; case PPC_601: return "MPC601"; case PPC_5XX: return "MPC5XX"; case PPC_603: return "MPC603"; @@ -104,6 +105,7 @@ ppc_cpu_id_t get_ppc_cpu_type(void) case PPC_405: case PPC_405GP: case PPC_405EX: + case PPC_440: case PPC_601: case PPC_5XX: case PPC_603: @@ -150,7 +152,7 @@ ppc_cpu_id_t get_ppc_cpu_type(void) case PPC_7400: /* NOTE: PSIM PVR doesn't tell us anything (its * contents are not set based on what model - * the uses chooses but has to be programmed via + * the user chooses but has to be programmed via * the device file with the special value 0xfffe * telling us that we have a 'psim cpu'). * @@ -182,6 +184,8 @@ ppc_cpu_id_t get_ppc_cpu_type(void) case PPC_405EX: current_ppc_features.is_bookE = PPC_BOOKE_405; break; + case PPC_440: + current_ppc_features.is_bookE = PPC_BOOKE_STD; case PPC_8540: case PPC_e200z0: case PPC_e200z1: |