/*
 *
 * Copyright (C) 2012-2019, Samsung Electronics Co., Ltd.
 *
 * TZPC, TZASC interface, header file
 */

#ifndef __PROTECT_H__
#define __PROTECT_H__

#include "tuiHal.h"

enum {
    TZPC_USR_DEV_SPI0,
    TZPC_USR_DEV_I2C0,
    TZPC_USR_DEV_I2C1,
};

TEE_Result protect_by_tzpc(unsigned int dev_id, bool do_protect);
TEE_Result protect_by_tzasc(unsigned int region,
                            unsigned long start,
                            unsigned int size,
                            bool do_protect);

#endif /* __PROTECT_H__ */
