diff options
Diffstat (limited to 'src/security/vboot/bootmode.c')
-rw-r--r-- | src/security/vboot/bootmode.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/security/vboot/bootmode.c b/src/security/vboot/bootmode.c index 834bc481e1..05098b4304 100644 --- a/src/security/vboot/bootmode.c +++ b/src/security/vboot/bootmode.c @@ -169,3 +169,20 @@ int vboot_developer_mode_enabled(void) return 0; } + +#if IS_ENABLED(CONFIG_VBOOT_NO_BOARD_SUPPORT) +/** + * TODO: Create flash protection interface which implements get_write_protect_state. + * get_recovery_mode_switch should be implemented as default function. + */ +int __attribute__((weak)) get_write_protect_state(void) +{ + return 0; +} + +int __attribute__((weak)) get_recovery_mode_switch(void) +{ + return 0; +} + +#endif |