diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-08-10 15:40:49 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-08-10 15:40:49 +0200 |
commit | d10afb3916522801fb88c7ad9b6d82657be51567 (patch) | |
tree | 022912cb1def87dadf38015cbc298c76ba6ad6af /cpu/ppc4xx/cpu.c | |
parent | a3d9181e00cca80287d7243c4c1dcf981c2969d3 (diff) | |
parent | 692519b1edfd5803cd2a841921492889f46f0ce3 (diff) | |
download | u-boot-imx-d10afb3916522801fb88c7ad9b6d82657be51567.zip u-boot-imx-d10afb3916522801fb88c7ad9b6d82657be51567.tar.gz u-boot-imx-d10afb3916522801fb88c7ad9b6d82657be51567.tar.bz2 |
Merge with /home/raj/git/u-boot
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 71303bc..bc51fbf 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 /* ------------------------------------------------------------------------- */ |