• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#===============================================================================
2# @brief    Kconfig file.
3# Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2023. All rights reserved.
4#===============================================================================
5config BOOT_SUPPORT_SEC
6    bool
7    prompt "BOOT SEC"
8    default n
9    help
10        This option means boot support sec.
11
12if BOOT_SUPPORT_SEC
13menu "Boot Sec Configuration"
14    comment "Boot hash"
15    osource "bootloader/commonboot/Kconfig"
16endmenu
17endif
18
19config BOOT_SUPPORT_SECURE_VERIFY
20    bool
21    prompt "BOOT VERIFY"
22    default n
23    help
24        This option means boot support secure verify.
25
26if BOOT_SUPPORT_SECURE_VERIFY
27menu "Boot Secure Verify Configuration"
28    comment "Boot secure verify"
29    osource "bootloader/commonboot/Kconfig"
30endmenu
31endif
32
33config BOOT_SUPPORT_PARTITION
34    bool
35    prompt "BOOT PARTITION"
36    default n
37    help
38        This option means boot support partition.
39
40config LOADERBOOT_SUPPORT_EFUSE_BURN
41    bool
42    prompt "LOADERBOOT EFUSE BURN"
43    default n
44    help
45        This option means loaderboot support efuse burn.
46
47config LOADERBOOT_SUPPORT_FLASH_CHIP_ERASE
48    bool
49    prompt "LOADERBOOT FLASH CHIP ERASE"
50    default n
51    help
52        This option means loaderboot support flash chip erase.
53
54if LOADERBOOT_SUPPORT_EFUSE_BURN
55menu "Loaderboot Hash Configuration"
56    comment "Boot hash"
57    osource "bootloader/commonboot/Kconfig"
58endmenu
59endif
60
61config LOADERBOOT_SUPPORT_UPLOAD_DATA
62    bool
63    prompt "LOADERBOOT UPLOAD DATA"
64    default n
65    help
66        This option means loaderboot support data upload.
67
68config LOADERBOOT_SUPPORT_READ_VERSION
69    bool
70    prompt "LOADERBOOT READ VERSION"
71    default n
72    help
73        This option means loaderboot support version read.
74
75
76config LOADERBOOT_SUPPORT_SET_BUADRATE
77    bool
78    prompt "LOADERBOOT SET BUADRATE"
79    default n
80    help
81        This option means loaderboot support set baudrate.