refactor(core/embed): rename boot_args to bootuils

[no changelog]
tychovrahe/coresplit/merged
cepetr 1 month ago
parent 68f0404ec5
commit cd6042c894

@ -145,7 +145,7 @@ SOURCE_BOOTLOADER = [
]
SOURCE_TREZORHAL = [
'embed/trezorhal/unix/boot_args.c',
'embed/trezorhal/unix/bootutils.c',
'embed/trezorhal/unix/common.c',
'embed/trezorhal/unix/fault_handlers.c',
'embed/trezorhal/unix/flash.c',

@ -418,7 +418,7 @@ SOURCE_MICROPYTHON = [
]
SOURCE_UNIX = [
'embed/trezorhal/unix/boot_args.c',
'embed/trezorhal/unix/bootutils.c',
'embed/trezorhal/unix/common.c',
'embed/trezorhal/unix/flash_otp.c',
'embed/trezorhal/unix/flash.c',

@ -2,8 +2,8 @@
#include <unistd.h>
#include TREZOR_BOARD
#include "boot_args.h"
#include "bootui.h"
#include "bootutils.h"
#include "common.h"
#include "display.h"
#include "flash.h"

@ -20,7 +20,7 @@
#include <string.h>
#include <sys/types.h>
#include "boot_args.h"
#include "bootutils.h"
#include "common.h"
#include "display.h"
#include "display_utils.h"

@ -24,7 +24,7 @@
#include <pb_encode.h>
#include "messages.pb.h"
#include "boot_args.h"
#include "bootutils.h"
#include "common.h"
#include "flash.h"
#include "image.h"

@ -30,7 +30,7 @@
#include <string.h>
#include "blake2s.h"
#include "boot_args.h"
#include "bootutils.h"
#include "common.h"
#include "flash.h"
#include "unit_variant.h"

@ -22,7 +22,7 @@
#include <stdio.h>
#endif
#include "boot_args.h"
#include "bootutils.h"
#include "display.h"
#include "error_handling.h"
#include "mini_printf.h"

@ -25,7 +25,7 @@
#include STM32_HAL_H
#include "board_capabilities.h"
#include "boot_args.h"
#include "bootutils.h"
#include "button.h"
#include "common.h"
#include "display.h"

@ -1,5 +1,5 @@
#ifndef TREZORHAL_BOOT_ARGS_H
#define TREZORHAL_BOOT_ARGS_H
#ifndef TREZORHAL_BOOTUTILS_H
#define TREZORHAL_BOOTUTILS_H
#include <stddef.h>
#include <stdint.h>
@ -40,4 +40,4 @@ void __attribute__((noreturn)) trezor_shutdown(void);
void __attribute__((noreturn)) svc_reboot_to_bootloader(void);
void __attribute__((noreturn)) svc_reboot(void);
#endif // TREZORHAL_BOOT_ARGS_H
#endif // TREZORHAL_BOOTUTILS_H

@ -1,5 +1,5 @@
#include "../boot_args.h"
#include "../bootutils.h"
#include <common.h>
#include <string.h>

@ -1,5 +1,5 @@
#include "../boot_args.h"
#include "../bootutils.h"
#include <common.h>
#include <string.h>

@ -41,7 +41,7 @@ def stm32f4_common_files(env, defines, sources, paths):
sources += [
"embed/trezorhal/stm32f4/board_capabilities.c",
"embed/trezorhal/stm32f4/boot_args.c",
"embed/trezorhal/stm32f4/bootutils.c",
"embed/trezorhal/stm32f4/common.c",
"embed/trezorhal/stm32f4/entropy.c",
"embed/trezorhal/stm32f4/fault_handlers.c",

@ -50,7 +50,7 @@ def stm32u5_common_files(env, defines, sources, paths):
sources += [
"embed/trezorhal/stm32u5/board_capabilities.c",
"embed/trezorhal/stm32u5/boot_args.c",
"embed/trezorhal/stm32u5/bootutils.c",
"embed/trezorhal/stm32u5/common.c",
"embed/trezorhal/stm32u5/entropy.c",
"embed/trezorhal/stm32u5/fault_handlers.c",

Loading…
Cancel
Save