arch: esp32: Fix crash on startup

Summary:
- This commit fixes crash on startup introduced by commit 232aa62f03

Impact:
- Affects all use cases for esp32

Testing:
- Tested with esp32-core:smp with QEMU

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2020-10-08 05:42:08 +09:00 committed by Alan Carvalho de Assis
parent 0faf861256
commit 6232e7f84e
2 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,6 @@ config ARCH_CHIP_ESP32
select ARCH_HAVE_MULTICPU
select ARCH_HAVE_MODULE_TEXT
select ARCH_HAVE_SDRAM
select ARCH_HAVE_HEAP2
select ARCH_HAVE_RESET
select ARCH_TOOLCHAIN_GNU
---help---

View File

@ -138,6 +138,7 @@ config ESP32_SPI3
config ESP32_SPIRAM
bool "SPI RAM Support"
default n
select ARCH_HAVE_HEAP2
if ESP32_SPIRAM && SMP