commit | 692519b1edfd5803cd2a841921492889f46f0ce3 | [log] [tgz] |
---|---|---|
author | Rafal Jaworowski <raj@semihalf.com> | Thu Aug 10 12:43:17 2006 +0200 |
committer | Rafal Jaworowski <raj@pollux.denx.de> | Thu Aug 10 12:43:17 2006 +0200 |
tree | 1a761268c5b203444769a19257a317d09ce396c4 | |
parent | edd6cf20e1be63f84e0f5af0280473cf31f0e86c [diff] [blame] |
Add support for PCI-Express on PPC440SPe (Yucca board).
diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c index 71303bc..bc51fbf 100644 --- a/cpu/ppc4xx/cpu.c +++ b/cpu/ppc4xx/cpu.c
@@ -315,6 +315,17 @@ 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 /* ------------------------------------------------------------------------- */