Commit de91a534 authored by Geoff Levand's avatar Geoff Levand Committed by Paul Mackerras

[POWERPC] ps3: add spu support

Adds spu support for the PS3 platform.
Signed-off-by: default avatarGeoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
parent 00a3e2e9
obj-y += setup.o mm.o smp.o time.o hvcall.o htab.o repository.o 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-y += interrupt.o exports.o os-area.o
obj-$(CONFIG_SPU_BASE) += spu.o
...@@ -57,4 +57,12 @@ int ps3_set_rtc_time(struct rtc_time *time); ...@@ -57,4 +57,12 @@ int ps3_set_rtc_time(struct rtc_time *time);
int __init ps3_os_area_init(void); int __init ps3_os_area_init(void);
u64 ps3_os_area_rtc_diff(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 #endif
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment