Fixup EFL and F4's sector selection. (#19221)
This commit is contained in:
@@ -20,3 +20,13 @@
|
||||
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
|
||||
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
|
||||
#endif
|
||||
|
||||
#ifdef WEAR_LEVELING_EMBEDDED_FLASH
|
||||
# ifndef WEAR_LEVELING_EFL_FIRST_SECTOR
|
||||
# ifdef BOOTLOADER_TINYUF2
|
||||
# define WEAR_LEVELING_EFL_FIRST_SECTOR 3
|
||||
# else
|
||||
# define WEAR_LEVELING_EFL_FIRST_SECTOR 1
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user