1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-29 08:40:57 +00:00

boardloader: set BOR level to 2

This commit is contained in:
Pavol Rusnak 2017-11-05 16:40:31 +01:00
parent 1737f17f43
commit 8190e0909e
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -13,7 +13,7 @@
#define WANT_WRP_SECTORS (0)
#endif
#define WANT_BOR_LEVEL (OB_BOR_LEVEL3)
#define WANT_BOR_LEVEL (OB_BOR_LEVEL2)
// reference RM0090 section 3.9.10; SPRMOD is 0 meaning PCROP disabled.; DB1M is 0 because we use 2MB dual-bank; BFB2 is 0 allowing boot from flash;
#define FLASH_OPTCR_VALUE ( (((~WANT_WRP_SECTORS) << FLASH_OPTCR_nWRP_Pos) & FLASH_OPTCR_nWRP_Msk) | \