diff options
author | Martin Krause <martin.krause@tqs.de> | 2007-10-23 08:30:06 +0200 |
---|---|---|
committer | Martin Krause <martin.krause@tqs.de> | 2007-10-23 08:30:06 +0200 |
commit | 341cc69d234dd1c361676395cf592113eb90c54c (patch) | |
tree | ef58caeaf3ded7c139158c82840eba18cc0355ec /board/amcc/yosemite | |
parent | da3aad55cbde80ab6e301aafa82a2c411aa53eff (diff) | |
parent | 5441f61a3d8b7034f19fc1361183e936198e6dbb (diff) |
Merge branch 'u-boot' of /home/mkr/git/u-boot-tq-group into bugfix
Diffstat (limited to 'board/amcc/yosemite')
-rw-r--r-- | board/amcc/yosemite/yosemite.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/board/amcc/yosemite/yosemite.c b/board/amcc/yosemite/yosemite.c index 912f09ee43..6ec922ab00 100644 --- a/board/amcc/yosemite/yosemite.c +++ b/board/amcc/yosemite/yosemite.c @@ -1,4 +1,6 @@ /* + * (C) Copyright 2006-2007 + * Stefan Roese, DENX Software Engineering, sr@denx.de. * * See file CREDITS for list of people who contributed to this * project. @@ -22,6 +24,7 @@ #include <common.h> #include <ppc4xx.h> #include <asm/processor.h> +#include <asm/io.h> #include <spd_sdram.h> DECLARE_GLOBAL_DATA_PTR; @@ -181,8 +184,8 @@ int checkboard(void) printf("Board: Yellowstone - AMCC PPC440GR Evaluation Board"); #endif - rev = *(u8 *)(CFG_CPLD + 0); - val = *(u8 *)(CFG_CPLD + 5) & 0x01; + rev = in_8((void *)(CFG_BCSR_BASE + 0)); + val = in_8((void *)(CFG_BCSR_BASE + 5)) & CFG_BCSR5_PCI66EN; printf(", Rev. %X, PCI=%d MHz", rev, val ? 66 : 33); if (s != NULL) { |