blob: 8da1d75c7a5c043b0855b04875d0628ab95c9e26 [file] [log] [blame]
/* Copyright (c) 2010-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __MSM_SCM_PAS_H
#define __MSM_SCM_PAS_H
enum pas_id {
PAS_MODEM,
PAS_Q6,
PAS_DSPS,
PAS_TZAPPS,
PAS_MODEM_SW,
PAS_MODEM_FW,
PAS_WCNSS,
PAS_SECAPP,
PAS_GSS,
PAS_VIDC,
};
#ifdef CONFIG_MSM_PIL
extern int pas_init_image(enum pas_id id, const u8 *metadata, size_t size);
extern int pas_auth_and_reset(enum pas_id id);
extern int pas_shutdown(enum pas_id id);
extern int pas_supported(enum pas_id id);
#else
static inline int pas_init_image(enum pas_id id, const u8 *metadata,
size_t size)
{
return 0;
}
static inline int pas_auth_and_reset(enum pas_id id)
{
return 0;
}
static inline int pas_shutdown(enum pas_id id)
{
return 0;
}
static inline int pas_supported(enum pas_id id)
{
return 0;
}
#endif
#endif