-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a platform for the Wire Speed Processor, based on the PPC A2. This includes code for the ICS & OPB interrupt controllers, as well as a SCOM backend, and SCOM based cpu bringup. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Jack Miller <jack@codezen.org> Signed-off-by: Ian Munsie <imunsie@au1.ibm.com> Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
- Loading branch information
David Gibson
authored and
Benjamin Herrenschmidt
committed
May 6, 2011
1 parent
82578e1
commit a1d0d98
Showing
16 changed files
with
1,877 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Copyright 2011 Michael Ellerman, IBM Corp. | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; either version | ||
* 2 of the License, or (at your option) any later version. | ||
*/ | ||
#ifndef __ASM_POWERPC_WSP_H | ||
#define __ASM_POWERPC_WSP_H | ||
|
||
extern int wsp_get_chip_id(struct device_node *dn); | ||
|
||
#endif /* __ASM_POWERPC_WSP_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
config PPC_WSP | ||
bool | ||
default n | ||
|
||
menu "WSP platform selection" | ||
depends on PPC_BOOK3E_64 | ||
|
||
config PPC_PSR2 | ||
bool "PSR-2 platform" | ||
select PPC_A2 | ||
select GENERIC_TBSYNC | ||
select PPC_SCOM | ||
select EPAPR_BOOT | ||
select PPC_WSP | ||
select PPC_XICS | ||
select PPC_ICP_NATIVE | ||
default y | ||
|
||
endmenu | ||
|
||
config PPC_A2_DD2 | ||
bool "Support for DD2 based A2/WSP systems" | ||
depends on PPC_A2 | ||
|
||
config WORKAROUND_ERRATUM_463 | ||
depends on PPC_A2_DD2 | ||
bool "Workaround erratum 463" | ||
default y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ccflags-y += -mno-minimal-toc | ||
|
||
obj-y += setup.o ics.o | ||
obj-$(CONFIG_PPC_PSR2) += psr2.o opb_pic.o | ||
obj-$(CONFIG_PPC_WSP) += scom_wsp.o | ||
obj-$(CONFIG_SMP) += smp.o scom_smp.o |
Oops, something went wrong.