drivers: spi: set max chunk len for esp32

Max SPI chunk len was missing from the
implementation, causing SPI to hang up in some
conditions.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
Sylvio Alves 2021-08-12 09:35:38 -03:00 committed by Maureen Helm
commit 907b5d9e7f
2 changed files with 2 additions and 0 deletions

View file

@ -8,6 +8,7 @@
#define __SOC_H__
#include <soc/dport_reg.h>
#include <soc/rtc_cntl_reg.h>
#include <soc/soc_caps.h>
#include <esp32/rom/ets_sys.h>
#include <esp32/rom/spi_flash.h>