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

flash_init: remove empty function from all stages

This commit is contained in:
mcudev 2017-10-19 17:49:17 -04:00 committed by Pavol Rusnak
parent 167d476fff
commit fc7b1cfe81
4 changed files with 0 additions and 8 deletions

View File

@ -165,7 +165,6 @@ int main(void)
periph_init();
ensure(0 == display_init(), NULL);
ensure(0 == flash_init(), NULL);
ensure(0 == sdcard_init(), NULL);
if (check_sdcard()) {

View File

@ -155,7 +155,6 @@ int usb_init_all(void) {
bool bootloader_loop(void)
{
ensure(0 == flash_init(), NULL);
ensure(0 == usb_init_all(), NULL);
display_clear();

View File

@ -27,7 +27,6 @@ int main(void)
display_orientation(0);
ensure(0 == flash_init(), NULL);
ensure(0 == sdcard_init(), NULL);
ensure(0 == touch_init(), NULL);

View File

@ -35,11 +35,6 @@ static const uint32_t SECTOR_TABLE[SECTOR_COUNT + 1] = {
[24] = 0x08200000, // last element - not a valid sector
};
int flash_init(void)
{
return 0;
}
bool flash_unlock(void)
{
HAL_FLASH_Unlock();