Commit 854f7ec
LIB: Partially rework BL2 logging
Instead of verifying that the LOG_LEVEL matches the MCUBOOT_LOG_LEVEL,
completely ignore the definition of LOG_LEVEL for MCUBoot logging and
ensure that instead we only use the MCUBOOT_LOG_LEVEL macro to determine
the level to log at.
We achieve this by setting the LOG_LEVEL to LOG_LEVEL_VERBOSE which
compiles in all logging macros and allow the MCUBOOT_LOG_LEVEL to set
which level to log at.
Change-Id: I343774306734499b691fde04cd87626ff6d13add
Signed-off-by: Jackson Cooper-Driver <jackson.cooper-driver@arm.com>
(cherry picked from commit 1fe05e9)
Signed-off-by: Stefan Gloor <stefan.gloor@siemens.com>1 parent a69c7ee commit 854f7ec
File tree
2 files changed
+32
-9
lines changed- bl2/ext/mcuboot/include/mcuboot_config
- secure_fw/partitions/firmware_update/bootloader/mcuboot
2 files changed
+32
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
22 | 32 | | |
23 | 33 | | |
24 | 34 | | |
| |||
31 | 41 | | |
32 | 42 | | |
33 | 43 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 44 | + | |
| 45 | + | |
38 | 46 | | |
39 | 47 | | |
40 | 48 | | |
41 | 49 | | |
42 | 50 | | |
43 | | - | |
| 51 | + | |
| 52 | + | |
44 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
45 | 57 | | |
46 | | - | |
| 58 | + | |
| 59 | + | |
47 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
48 | 64 | | |
49 | | - | |
| 65 | + | |
| 66 | + | |
50 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
51 | 71 | | |
52 | | - | |
| 72 | + | |
| 73 | + | |
53 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
54 | 78 | | |
55 | 79 | | |
56 | 80 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
0 commit comments