Commit Graph

17 Commits

Author SHA1 Message Date
Pavol Rusnak 14b0d4439a
embed: add GPLv3 source code headers 2018-02-26 14:07:37 +01:00
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 48ef409fdb
modtrezorio: remove mocks 2017-12-15 00:06:09 +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 626a8885ce
trezor.config: add compaction test 2017-12-08 16:46:13 +01:00
Pavol Rusnak 7f5192701f
unix: use mmap to access flash file 2017-12-08 14:18:15 +01:00
Pavol Rusnak 5444410e04
unix: use return value from fread properly 2017-11-06 15:44:35 +01:00
Pavol Rusnak 2e3b8336c2
unix: fix unused-result warning 2017-11-06 11:12:43 +01:00
Pavol Rusnak ee7d260d2f
trezorhal: use const where possible for flash 2017-11-05 23:51:10 +01:00
Jan Pochyla 1f6cc70480 flash: remove flash_set_option_bytes 2017-11-05 21:00:38 +01:00
Jan Pochyla 662cfc1b2c unix/flash: 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 d4443a4f7f unix/flash: start with 0xff 2017-11-05 20:46:11 +01:00
Jan Pochyla 12708b4987 unix/flash: default FLASH_FILE 2017-11-05 20:46:11 +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