Skip to content

Commit

Permalink
[POWERPC] ps3: add spu support
Browse files Browse the repository at this point in the history
Adds spu support for the PS3 platform.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
  • Loading branch information
Geoff Levand authored and Paul Mackerras committed Dec 4, 2006
1 parent 00a3e2e commit de91a53
Show file tree
Hide file tree
Showing 3 changed files with 623 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/platforms/ps3/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
obj-y += setup.o mm.o smp.o time.o hvcall.o htab.o repository.o
obj-y += interrupt.o exports.o os-area.o

obj-$(CONFIG_SPU_BASE) += spu.o
8 changes: 8 additions & 0 deletions arch/powerpc/platforms/ps3/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,12 @@ int ps3_set_rtc_time(struct rtc_time *time);
int __init ps3_os_area_init(void);
u64 ps3_os_area_rtc_diff(void);

/* spu */

#if defined(CONFIG_SPU_BASE)
void ps3_spu_set_platform (void);
#else
static inline void ps3_spu_set_platform (void) {}
#endif

#endif
Loading

0 comments on commit de91a53

Please sign in to comment.