1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00

refactor(core/embed): rename boot_args to bootuils

[no changelog]
This commit is contained in:
cepetr 2024-08-16 12:11:38 +02:00 committed by cepetr
parent 5f97f5a8ea
commit 0666e6ea9a
15 changed files with 16 additions and 16 deletions

View File

@ -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',

View File

@ -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',

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

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

View File

@ -1 +0,0 @@
../stm32f4/boot_args.c

View File

@ -0,0 +1 @@
../stm32f4/bootutils.c

View File

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

View File

@ -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",

View File

@ -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",