2012-05-16 18:26:10 +08:00
|
|
|
/*
|
|
|
|
* Blackfin bf609 power management
|
|
|
|
*
|
|
|
|
* Copyright 2011 Analog Devices Inc.
|
|
|
|
*
|
|
|
|
* Licensed under the GPL-2
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MACH_BF609_PM_H__
|
|
|
|
#define __MACH_BF609_PM_H__
|
|
|
|
|
|
|
|
#include <linux/suspend.h>
|
|
|
|
|
2012-07-23 11:35:30 +08:00
|
|
|
extern int bfin609_pm_enter(suspend_state_t state);
|
|
|
|
extern int bf609_pm_prepare(void);
|
|
|
|
extern void bf609_pm_finish(void);
|
2012-05-16 18:26:10 +08:00
|
|
|
|
|
|
|
void bf609_hibernate(void);
|
|
|
|
void bfin_sec_raise_irq(unsigned int sid);
|
|
|
|
void coreb_enable(void);
|
2012-06-07 14:17:12 +08:00
|
|
|
|
|
|
|
int bf609_nor_flash_init(void);
|
|
|
|
void bf609_nor_flash_exit(void);
|
2012-05-16 18:26:10 +08:00
|
|
|
#endif
|