diff options
Diffstat (limited to 'common/main.c')
-rw-r--r-- | common/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/main.c b/common/main.c index 4b537a79da..4c5d580ddd 100644 --- a/common/main.c +++ b/common/main.c @@ -79,7 +79,7 @@ test_mockable __keep int main(void) system_pre_init(); system_common_pre_init(); -#ifdef CONFIG_FLASH +#if defined(CONFIG_FLASH_PHYSICAL) /* * Initialize flash and apply write protect if necessary. Requires * the reset flags calculated by system initialization. |