android_kernel_google_msm/drivers/char/tpm/tpmd_dev/config.h
Tianyi Gou 289b5e4a9c Add tpmd_dev from the tpm-emulator source to the kernel
This adds tpmd_dev from the tpm-emulator source, so we don't have to compile it externally.  It also adds config.h, which unfortunately is not in the source---it's an intermediate compilation result.

Signed-off-by: semenzato@chromium.org

Review URL: http://codereview.chromium.org/1602016

[move tpmd_dev/ to drivers/char/tpm and modifed Makefile there]
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-02-25 11:29:24 -08:00

32 lines
1.1 KiB
C

/* Software-based Trusted Platform Module (TPM) Emulator
* Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net>
*
* This module is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version.
*
* This module 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.
*
* $Id: config.h.in 426 2010-02-22 17:11:58Z mast $
*/
#ifndef _CONFIG_H_
#define _CONFIG_H_
/* project and build version */
#define VERSION_MAJOR 0
#define VERSION_MINOR 7
#define VERSION_BUILD 424
/* TDDL and LKM configuration */
#define TPM_SOCKET_NAME "/var/run/tpm/tpmd_socket:0"
#define TPM_STORAGE_NAME "/var/lib/tpm/tpm_emulator-1_2_0_7"
#define TPM_DEVICE_NAME "/dev/tpm"
#define TPM_LOG_FILE ""
#define TPM_CMD_BUF_SIZE 4096
#endif /* _CONFIG_H_ */