From: Che-Liang Chiou Date: Tue, 13 Dec 2011 19:51:00 +0800 Subject: [U-Boot] [PATCH 1/3] tpm: Rename generic_lpc_tpm to tpm_tis_lpc In-Reply-To: <1323777063-9880-1-git-send-email-clchiou@chromium.org> References: <1323777063-9880-1-git-send-email-clchiou@chromium.org> Message-ID: <1323777063-9880-2-git-send-email-clchiou@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The new name is more aligned with Linux kernel's naming of TPM driver. Signed-off-by: Che-Liang Chiou --- Makefile | 2 +- README | 5 ++++- drivers/tpm/Makefile | 2 +- drivers/tpm/{generic_lpc_tpm.c => tpm_tis_lpc.c} | 0 4 files changed, 6 insertions(+), 3 deletions(-) rename drivers/tpm/{generic_lpc_tpm.c => tpm_tis_lpc.c} (100%) diff --git a/Makefile b/Makefile index de65a17..abeafd7 100644 --- a/Makefile +++ b/Makefile @@ -277,7 +277,7 @@ LIBS += arch/powerpc/cpu/mpc8xxx/lib8xxx.o endif LIBS += drivers/rtc/librtc.o LIBS += drivers/serial/libserial.o -ifeq ($(CONFIG_GENERIC_LPC_TPM),y) +ifeq ($(CONFIG_TPM),y) LIBS += drivers/tpm/libtpm.o endif LIBS += drivers/twserial/libtws.o diff --git a/README b/README index e9d1891..434384c 100644 --- a/README +++ b/README @@ -1073,7 +1073,10 @@ The following options need to be configured: If this option is set, the driver enables cache flush. - TPM Support: - CONFIG_GENERIC_LPC_TPM + CONFIG_TPM + Support TPM devices. + + CONFIG_TPM_TIS_LPC Support for generic parallel port TPM devices. Only one device per system is supported at this time. diff --git a/drivers/tpm/Makefile b/drivers/tpm/Makefile index be11c8b..47d09de 100644 --- a/drivers/tpm/Makefile +++ b/drivers/tpm/Makefile @@ -23,7 +23,7 @@ include $(TOPDIR)/config.mk LIB := $(obj)libtpm.o -COBJS-$(CONFIG_GENERIC_LPC_TPM) = generic_lpc_tpm.o +COBJS-$(CONFIG_TPM_TIS_LPC) = tpm_tis_lpc.o COBJS := $(COBJS-y) SRCS := $(COBJS:.o=.c) diff --git a/drivers/tpm/generic_lpc_tpm.c b/drivers/tpm/tpm_tis_lpc.c similarity index 100% rename from drivers/tpm/generic_lpc_tpm.c rename to drivers/tpm/tpm_tis_lpc.c -- 1.7.3.1