diff options
author | Rafal Jaworowski <raj@semihalf.com> | 2006-08-10 12:43:17 +0200 |
---|---|---|
committer | Rafal Jaworowski <raj@pollux.denx.de> | 2006-08-10 12:43:17 +0200 |
commit | 692519b1edfd5803cd2a841921492889f46f0ce3 (patch) | |
tree | 1a761268c5b203444769a19257a317d09ce396c4 /cpu/ppc4xx/cpu.c | |
parent | edd6cf20e1be63f84e0f5af0280473cf31f0e86c (diff) | |
download | u-boot-692519b1edfd5803cd2a841921492889f46f0ce3.tar.gz u-boot-692519b1edfd5803cd2a841921492889f46f0ce3.tar.bz2 u-boot-692519b1edfd5803cd2a841921492889f46f0ce3.zip |
Add support for PCI-Express on PPC440SPe (Yucca board).
Diffstat (limited to 'cpu/ppc4xx/cpu.c')
-rw-r--r-- | cpu/ppc4xx/cpu.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c index 71303bcc49..bc51fbfdbe 100644 --- a/cpu/ppc4xx/cpu.c +++ b/cpu/ppc4xx/cpu.c @@ -315,6 +315,17 @@ int checkcpu (void) return 0; } +#if defined (CONFIG_440SPE) +int ppc440spe_revB() { + unsigned int pvr; + + pvr = get_pvr(); + if (pvr == PVR_440SPe_RB) + return 1; + else + return 0; +} +#endif /* ------------------------------------------------------------------------- */ |