1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
Pavol Rusnak
00c193f5cc
trezorhal, unix: drop flash_write_{byte,word} usage, rename flash_write_{byte,word}_rel to flash_write_{byte,word} 2018-01-23 16:58:53 +01:00
Pavol Rusnak
47f5cba439
flash/sdcard: introduce wur, simplify code 2017-12-16 18:42:06 +01:00
Pavol Rusnak
5e93cca0a9
WIP 2017-12-16 17:54:12 +01:00
Jochen Hoenicke
816bfe387f Bug fix: missing parenthesis in flash_write_word 2017-12-12 00:01:49 +01:00
Pavol Rusnak
6ab0f03ec4
embed: norcow_init, storage_init and flash_init don't return secbool, they halt using ensure if something goes wrong 2017-12-09 14:48:49 +01:00
Pavol Rusnak
ee7d260d2f
trezorhal: use const where possible for flash 2017-11-05 23:51:10 +01:00
Jan Pochyla
0376ff7f48 storage, norcow: use secbool 2017-11-05 20:46:59 +01:00
Jan Pochyla
c2ec40bebf flash: flash_init returns bool 2017-11-05 20:46:58 +01:00
Jan Pochyla
c78babdc12 flash: add flash_get_address 2017-11-05 20:46:11 +01:00
Jan Pochyla
543e8c5007 flash: add unix/flash.c 2017-11-05 20:46:11 +01:00
Jan Pochyla
4cabe40220 storage: pin checking in c proof of concept
TODO: move out of modtrezorconfig
TODO: flash unix mock
2017-11-05 20:46:11 +01:00
mcudev
1737f17f43
boardloader: flash option bytes, production changes 2017-11-05 16:42:20 +01:00
Pavol Rusnak
5d6d342813
bootloader: erase storage on vendor change 2017-10-27 18:45:33 +02:00
Pavol Rusnak
4d36d0e1c1
trezorhal: use sectrue where possible 2017-10-27 03:58:00 +02:00
Pavol Rusnak
f73eb3effd
trezorhal: introduce secbool/sectrue/secfalse and use it where possible 2017-10-26 23:51:39 +02:00
Pavol Rusnak
7ddfdf69d6
trezorhal: support for non-continous areas in check_image_contents 2017-10-26 19:09:53 +02:00
mcudev
fc7b1cfe81 flash_init: remove empty function from all stages 2017-10-20 14:41:01 +02:00
Pavol Rusnak
6ea9b105e5
boardloader, bootloader: reorder erasing of sectors, check whether sector was really erased 2017-10-16 21:43:07 +02:00
Pavol Rusnak
82050912c4
bootloader: implement WipeDevice 2017-10-16 20:56:16 +02:00
Pavol Rusnak
66b6406b7c
boardloader, bootloader: add write-protection and downgrade-protection respectively 2017-10-12 14:35:01 +02:00
Pavol Rusnak
d003c250d8
boardloader: refactor flash_option_bytes from trezorhal to boardloader/lowlevel 2017-10-11 23:53:29 +02:00
mcudev
430117dd16 flash_otp_write: uninitialized variable 2017-09-30 23:20:21 +02:00
Pavol Rusnak
d50eeb581a
trezorhal: introduce flash_write_{byte,word} 2017-09-28 11:28:40 +02:00
Pavol Rusnak
67d8d4fa2e
modtrezorio: add FlashOTP class 2017-09-27 12:00:35 +02:00
Pavol Rusnak
66930f2e37
trezorhal: add flash_otp functions 2017-09-27 11:09:08 +02:00
Jan Pochyla
55bd4a0806 rename /micropython to /embed 2017-07-28 16:23:45 +02:00