Move TPM code out of chromeos
This code is not specific to ChromeOS and is useful outside of it. Like with small modifications it can be used to disable TPM altogether. Change-Id: I8c6baf0a1f7c67141f30101a132ea039b0d09819 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/10269 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@@ -39,9 +39,6 @@ void read_vbnv(uint8_t *vbnv_copy);
|
||||
void save_vbnv(const uint8_t *vbnv_copy);
|
||||
|
||||
#if CONFIG_CHROMEOS
|
||||
/* functions implemented in vboot.c */
|
||||
void init_chromeos(int bootmode);
|
||||
|
||||
/* functions implemented in elog.c */
|
||||
void elog_add_boot_reason(void);
|
||||
|
||||
@@ -53,7 +50,6 @@ int vboot_enable_developer(void);
|
||||
int vboot_enable_recovery(void);
|
||||
int vboot_skip_display_init(void);
|
||||
#else
|
||||
static inline void init_chromeos(int bootmode) { }
|
||||
static inline void elog_add_boot_reason(void) { return; }
|
||||
static inline void elog_add_watchdog_reset(void) { return; }
|
||||
static inline void reboot_from_watchdog(void) { return; }
|
||||
|
Reference in New Issue
Block a user