2 * Copyright 2007-2009 Analog Devices Inc.
3 * Graff Yang <graf.yang@analog.com>
5 * Licensed under the GPL-2 or later.
9 #include <asm/blackfin.h>
14 void platform_cpu_die(void)
19 /* disable core timer */
22 /* clear ipi interrupt IRQ_SUPPLE_0 of CoreB */
23 bfin_write_SICB_SYSCR(bfin_read_SICB_SYSCR() | (1 << (10 + 1)));
26 /* set CoreB wakeup by ipi0, iwr will be discarded */
27 bfin_iwr_set_sup0(&iwr, &iwr, &iwr);