diff options
| author | Stefan Roese <sr@denx.de> | 2005-11-29 18:17:41 +0100 | 
|---|---|---|
| committer | Stefan Roese <sr@denx.de> | 2005-11-29 18:17:41 +0100 | 
| commit | 1178a412d2c71cf8be61738153f11c99ce9653a5 (patch) | |
| tree | 06845aebb012b94c15c801f6c36254041d1515d6 /board/amcc | |
| parent | 3d9569b2329802c36ec834ff2a851b11bb706288 (diff) | |
| download | olio-uboot-2014.01-1178a412d2c71cf8be61738153f11c99ce9653a5.tar.xz olio-uboot-2014.01-1178a412d2c71cf8be61738153f11c99ce9653a5.zip | |
Minor AMCC 4xx board cleanups
Patch by Stefan Roese, 27 Nov 2005
Diffstat (limited to 'board/amcc')
| -rw-r--r-- | board/amcc/bamboo/bamboo.c | 12 | ||||
| -rw-r--r-- | board/amcc/yellowstone/yellowstone.c | 12 | ||||
| -rw-r--r-- | board/amcc/yosemite/yosemite.c | 12 | 
3 files changed, 0 insertions, 36 deletions
| diff --git a/board/amcc/bamboo/bamboo.c b/board/amcc/bamboo/bamboo.c index 17547671a..803995ae5 100644 --- a/board/amcc/bamboo/bamboo.c +++ b/board/amcc/bamboo/bamboo.c @@ -493,20 +493,8 @@ int testdram(void)  #if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)  int pci_pre_init(struct pci_controller *hose)  { -	unsigned long strap;  	unsigned long addr; -	/*--------------------------------------------------------------------------+ -	 *	Bamboo is always configured as the host & requires the -	 *	PCI arbiter to be enabled. -	 *--------------------------------------------------------------------------*/ -	mfsdr(sdr_sdstp1, strap); -	if ((strap & SDR0_SDSTP1_PAE_MASK) == 0) { -		printf("PCI: SDR0_STRP1[PAE] not set.\n"); -		printf("PCI: Configuration aborted.\n"); -		return 0; -	} -  	/*-------------------------------------------------------------------------+  	  | Set priority for all PLB3 devices to 0.  	  | Set PLB3 arbiter to fair mode. diff --git a/board/amcc/yellowstone/yellowstone.c b/board/amcc/yellowstone/yellowstone.c index f3c689c11..585f0720f 100644 --- a/board/amcc/yellowstone/yellowstone.c +++ b/board/amcc/yellowstone/yellowstone.c @@ -315,20 +315,8 @@ int testdram(void)  #if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)  int pci_pre_init(struct pci_controller *hose)  { -	unsigned long strap;  	unsigned long addr; -	/*--------------------------------------------------------------------------+ -	 *	Bamboo is always configured as the host & requires the -	 *	PCI arbiter to be enabled. -	 *--------------------------------------------------------------------------*/ -	mfsdr(sdr_sdstp1, strap); -	if ((strap & SDR0_SDSTP1_PAE_MASK) == 0) { -		printf("PCI: SDR0_STRP1[PAE] not set.\n"); -		printf("PCI: Configuration aborted.\n"); -		return 0; -	} -  	/*-------------------------------------------------------------------------+  	  | Set priority for all PLB3 devices to 0.  	  | Set PLB3 arbiter to fair mode. diff --git a/board/amcc/yosemite/yosemite.c b/board/amcc/yosemite/yosemite.c index a5cf8b6c8..669451710 100644 --- a/board/amcc/yosemite/yosemite.c +++ b/board/amcc/yosemite/yosemite.c @@ -311,20 +311,8 @@ int testdram(void)  #if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)  int pci_pre_init(struct pci_controller *hose)  { -	unsigned long strap;  	unsigned long addr; -	/*--------------------------------------------------------------------------+ -	 *	Bamboo is always configured as the host & requires the -	 *	PCI arbiter to be enabled. -	 *--------------------------------------------------------------------------*/ -	mfsdr(sdr_sdstp1, strap); -	if ((strap & SDR0_SDSTP1_PAE_MASK) == 0) { -		printf("PCI: SDR0_STRP1[PAE] not set.\n"); -		printf("PCI: Configuration aborted.\n"); -		return 0; -	} -  	/*-------------------------------------------------------------------------+  	  | Set priority for all PLB3 devices to 0.  	  | Set PLB3 arbiter to fair mode. |